Re: Multiplot-like in new graphics [message #73255 is a reply to message #72591] |
Thu, 28 October 2010 15:16  |
penteado
Messages: 866 Registered: February 2018
|
Senior Member Administrator |
|
|
On Sep 23, 8:10 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Sep 23, 6:20 pm, Matt Haffner <matt.haff...@gmail.com> wrote:
>
>> I wish they would have expanded TICKLAYOUT to simply suppress labels
>> but keep ticks, though. I still had to use blank TICKNAME arrays to
>> get that to work properly.
>
> I was thinking just that a few minutes ago. I was thinking in using
> using layout, but that would give an equal area to each panel. But
> those in the bottom line and left row would need different sizes, to
> keep the data area of constant size, while leaving some space for the
> labels. The alternative would be to leave the panels equal, but then
> the left row and bottom line would have smaller data areas. So I am
> going with position.
>
> Also, I want to allow for setting a global title, and single x and y
> titles for the whole grid (something that in DG already required me to
> make changes tomultiplot). Then I may also encounter the issue of
> overlapping labels (say, from the top y label of the bottom plot
> geting over the bottom y label of the plot above it), which also
> required me to make some changes tomultiplot.
The class (pp_multiplot) is now available at
http://www.ppenteado.net/idl/pp_multiplot__define.html
As usual, the source file is on the same location, just with the .pro
extension.
It allows for columns/lines of different widths, single x/y titles,
synchronization of x/y ranges and axes properties, and does not shrink
the left column or the bottom line, due to the space taken by the
axes.
|
|
|