nmacsai

260 Reputation

9 Badges

4 years, 85 days

MaplePrimes Activity


These are questions asked by nmacsai

My goal is to export images of curves where the output image has no background or equivalently, a fully transparent background. Is there a standard way to perform this task? I know that I can do this with the help of external software but I want to do it at the export stage in maple and avoid increasing the number of tools needed to perform the job. Eventually, I may want to generate many thousdands of curves/images with transparent backgrounds. 

Below I show how to make a plot while choosing a background with the color blue. I have found no way to select a fully transparent background. I expect this background transparency will be applied at the export image stage. 

how_do_I_plot_with_no_background.mw

To give an explicit example of what a plot with no background looks like, I make a plot in an unrelated software of a curve with no background. It's impossible to differentiate a white background from a transparent background in this environment, so we also show the same image embedded in an unrelated colored background also generated in an unrelated software.

In the image below, we can see how a image of a curve with a transparent background can be embedded over top of any other image without the blue square shown the the first example.

How do I change the legend position so it doesn't cover the plot label?

Before entertaining non-standard solutions to this problem such as building my own from scratch, is the a standard method for changing the position of the default legend generated along with a standard plot? I couldn't find anything about custom legend positions in the help sheets.

I can't help but wonder why this observed behaviour occurs by default? In what kind of plot would I prefer the plot labels to be obscured by the plot legend?



legend_covers_plot_labels.mw

Can I open Maple 2025 files in Maple 2024? Further, what if the files don't use Maple 2025 features/packages? Does that change the outcome?

Does Maple 2025 have a dark theme or GUI color customization?

How to I generate and or export a plot without a white border or equivalently , just  the information inside the axes?

See example. Note that when I insert the content below, it fails to accurately copy the information( blue background). If you look at the attached maple file, it should be very clear what I'm after.

kill_plot_border_on_plot_generation_or_export.mw

restart

NULL

How do I make and export a plot without the white border or background? I want my export to only contain information inside the blue region.
 

plot(x^2, x = 0 .. 3, background = "Blue", axes = none)

plot(x^2, x = 0 .. 3, background = "Blue", axes = none)

 

 

When looking at the exported image you see that there is a white border around the blue region.

NULL

NULL

NULL

Download kill_plot_border_on_plot_generation_or_export.mw

1 2 3 4 5 6 7 Page 1 of 8