Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements1 #1

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Improvements1 #1

wants to merge 9 commits into from

Conversation

mmatera
Copy link
Contributor

@mmatera mmatera commented Jan 27, 2021

In this PR I start writing what I think this package should be. The package exposes two Symbols:

  • MPLShow
  • MLPExportGraphics
    The first takes a Graphics / GraphicsBox expression, build an mpl graphics, and show it. Se second will be the basis for exporting graphics expressions to image files like png, svg or pdf. Which this, at least for 2d graphics, we will simplify a lot the current graphics module.
    Internally, we have the class WL2MLP which is the true responsible of building the graphics.

With the current implementation, you can do
MPLShow[Plot[f[x],{x,0,2}]]
and get a (black and white) plot of the function f[x]. Also you can make graphics including rectangles, circles, disks, lines and text.

@mmatera mmatera requested a review from rocky January 27, 2021 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant