Hi everyone! I am using the latest version of Mathematica, ie, 10.3.1. I want to save a plot with its legends and I am using Rasterize for that but when i am using it there appears a small triangle at the bottom left of the plot. Why is that happening? I am sharing the commands I am using
Rasterize[
Show[RegionPlot[
Evaluate@
ComplexExpand[{Im[z] < Im[(5 + 4 I) Cos[30]],
Im[z] > Im[(5 + 4 I) Cos[2*60 - 30]], Im[z] < Im[5 + 4 I]} /.
z -> x + I y], {x, -10, 10}, {y, -10, 10}, Axes -> True,
AxesLabel -> {HoldForm[Re[\[Zeta]]], HoldForm[Im[\[Zeta]]]},
PlotLegends -> {k Cos[\[Theta]], k Cos[2 \[Alpha] - \[Theta]], k},
PlotLabel ->
HoldForm[
Common Strip of Analyticity of Fourier Transform of \[Phi]]]]]
In Windows,you can save the entire graphic, including the legend, by selecting the cell (click on the cell bar at the very right), then right-clicking to get a menu, and then using Save Graphic As. This works even without rasterizing. You can also Export the graphic and get the same result. Just assign it to a symbol when making the plot and use Export.
Assigning the plot to a variable (like p1) and then using Export[“someName.png”,p1] should work for exporting as a png, since it is part of the core functionality. I suspect there is the same select and save-as capability, but I don’t know how that would be accessed in another front end.