Tag Info

New answers tagged

1

You can use Export[] when you cannot select outputs in the Front End. Overlay[{p1, Item[Show[p2], Alignment -> {-.7, .6}]}] Export["graphics.pdf",%] saves the graphics as PDF in your current working directory. No rasterization happens. This technique can also be used for output of GraphicsRow, GraphicsColumn, and GraphicsGrid where you cannot select ...


4

Although Overlay preserves unrasterized copies of its constituent Graphics it is rasterized by the Front End for the purpose of display. Therefore I do not believe that you can use Overlay for this purpose. However, I believe you can use Epilog and Inset: p1 = Plot[Sinc[x], {x, 0, 10}]; p2 = BarChart[{{1, 2, 3}, {1, 3, 2}}]; Show[p1, ImageSize -> ...


6

Use the DataRange option of ArrayPlot. If possible, it might help to force the size of the array to have the correct aspect ratio. plot1 = ArrayPlot[RandomReal[{0, 1}, {200, 100}], FrameTicks -> Automatic, DataRange -> {{0, Pi}, {0, 2 Pi}}]; plot2 = Plot[x^2, {x, 0, Pi}, PlotRange -> {0, 2 Pi}, PlotStyle -> {Thick, Red}]; Show[{plot1, ...



Top 50 recent answers are included