![]() | |
![]() |
![]() ![]() ![]() ![]() |
![]() |
Making a small figure inside a figure. Sometimes you may see a magnified plot in a margin to make a crowded part clear. To put such a magnified window, use multiplot. We make about 1/4 of the full-size figure inside the main plot. Firstly draw a main graph in the multiplot mode.
Move the origin to the vacant place (0.45,0.1), and draw a small graph there. The X and Y ranges should be determined to enlarge the place where you want to magnify. The small figure is the same as the main one except for the ranges, so that you can use the replot command.
![]() Now you can see clearly the part where there exists many data points. We chose the origin and size so as not to overlap those two figures. It is impossible to erase lines and points of the main figure which intrude the small one with gnuplot. X and Y axis names for the small graph should be empty, even the main figure has those stuff. When you want to make a reduced size EPS, the set size command should be outside the multiplot mode. Otherwise gnuplot defines BoundingBox in your Postscript file so as to include a whole screen. You can see an example in our gallery. |
![]() | |
![]() |
![]() ![]() ![]() ![]() |
![]() |