comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Rotating plot
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Rotating plot [message #58597] Wed, 06 February 2008 15:59
hazel is currently offline  hazel
Messages: 5
Registered: July 2007
Junior Member
Hi all,

I have question pertaining to a 'would like to have - I'm sure IDL
does it somehow' plot format.

I would like to plot 2 plots side by side (I can do this).

The first is Plot, x, y. The second is a histogram of number of
samples vs. y which I would like to rotate so that the y axes of both
plots are aligned.

I'm currently doing:

!P.MULTI=[0,2,1]
set_plot, 'ps'

DEVICE,FILENAME='plot.ps',/landscape, XSIZE=24.0, YSIZE=10.0, /cm

T3D, /RESET, TRANS=[0.0, -1.0, 0.0], ROT=[0,0,90] ; translation
and ;counterclockwise rotation about the z axis
plot,x, y

HIST_PLOT, y ; (Thank-you, Liam - a lifesaver)

(Within which:

plot, x,y, /T3D)


But my plot rotates correctly but looks very squashed and elongated,
yet I've not touched the dimensions of the plot (to my knowledge).

Please help!

Thanks,

Hazel
[Message index]
 
Read Message
Previous Topic: Nifty New IDL Routine for nCDF_Browser
Next Topic: rotating plots

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 13:21:58 PDT 2025

Total time taken to generate the page: 1.20055 seconds