| Summary: | Show plot results in vector format | ||
|---|---|---|---|
| Product: | [Applications] cantor | Reporter: | heqromancer |
| Component: | general | Assignee: | Cantor Bugs <cantor-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | alexander.semke |
| Priority: | NOR | ||
| Version First Reported In: | 22.04.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 23.12 | |
| Sentry Crash Report: | |||
|
Description
heqromancer
2022-06-13 14:25:43 UTC
(In reply to heqromancer from comment #0) > SUMMARY > When plotting, the result image is added right under the command box that > launched it. It would be cool to save the image as something like SVG > instead of the way it does right now (currently, the plots will be blurry if > you zoom in enough). That way, when using the Print feature we would not > only have a high quality representation of the saved Cantor session but also > capturing the plots in the 'proper' way. Yes, this is already on my TODO-list and I'll start working on this soon. The plan is to switch to PDF or SVG internally (Maxima, Octave, etc. can also generate PDF) and re-render during zooming. Also, it will be possible to save the plot results as a file in PNG, JPEG, SVG, etc. This was implemented now for Maxima, Octave, Sage and Python and it's work in progress for other systems. In the application settings it's possible now to specify the format of the produced plot results (PDF, SVG and PNG) and its size. In the worksheet you can do "Save result" from the context menu of the plot and save the image in its original format. Please give it a try. (In reply to Alexander Semke from comment #2) > This was implemented now for Maxima, Octave, Sage and Python and it's work > in progress for other systems. In the application settings it's possible now > to specify the format of the produced plot results (PDF, SVG and PNG) and > its size. In the worksheet you can do "Save result" from the context menu of > the plot and save the image in its original format. Please give it a try. Worked flawlessly in Octave. (In reply to heqromancer from comment #3) > (In reply to Alexander Semke from comment #2) > > This was implemented now for Maxima, Octave, Sage and Python and it's work > > in progress for other systems. In the application settings it's possible now > > to specify the format of the produced plot results (PDF, SVG and PNG) and > > its size. In the worksheet you can do "Save result" from the context menu of > > the plot and save the image in its original format. Please give it a try. > > Worked flawlessly in Octave. Thanks for the confirmation! |