I am fighting to get three isometric plots (I would like to plot a-b, a
and a+b in the same page with the same scaling, where a and b are 256x256
arrays).
I can do ONE plot as I wish using the default scaling as :
set_plot,'ps'
shade_surf,a.data > 0.90,ax=60,az=45,zrange=[0.90,1.10]
The X and Y axes appear at +/- 45 from the horizontal and have the same
aspect ratio, as it should be.
I can do three plots side by side as contour maps doing
set_plot,'ps'
device,/landscape
device,xoffset=6,yoffset=28.5,xsize=27.5,ysize=9
!p.multi=[0,3,1,0,0]
contour,(a.data-b.data) > 0.90,levels=lev,c_colors=col,c_labels=lab
contour, a.data > 0.90,levels=lev,c_colors=col,c_labels=lab
contour,(a.data+b.data) > 0.90,levels=lev,c_colors=col,c_labels=lab
The choice of offsets and sizes is such that I get three plots with
aspect ratio as close to unity as I can get, ganged horizontally.
Now I thought to do
set_plot,'ps'
device,/landscape
device,xoffset=6,yoffset=28.5,xsize=27.5,ysize=9
!p.multi=[0,3,1,0,0]
shade_surf,(a.data-b.data) > 0.90,ax=60,az=45,zrange=[0.90,1.10]
shade_surf, a.data > 0.90,ax=60,az=45,zrange=[0.90,1.10]
shade_surf,(a.data+b.data) > 0.90,ax=60,az=45,zrange=[0.90,1.10]
But I get that the plots are "squeezed", the x and y axes do not form
equal angles with the horizontal, and the x-axes is much longer than
the y-axes.
How can I produce three plots (ganged horizontally or vertically in an A4
page) with the same aspect ratio as the SINGLE shade_surf plot ?
------------------------------------------------------------ ----------------
A member of G.ASS : Group for Astronomical Software Support
------------------------------------------------------------ ----------------
Lucio Chiappetti - IFCTR/CNR | Ma te' vugl' da' quost avis a ti' Orsign
via Bassini 15 - I-20133 Milano | Buttet rabios intant te se' pisnign
Internet: LUCIO@IFCTR.MI.CNR.IT |
Decnet: IFCTR::LUCIO | (Rabisch, II 46, 119-120)
------------------------------------------------------------ ----------------
|