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

Home » Public Forums » archive » Specifying plot ranges
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Specifying plot ranges [message #78982] Mon, 16 January 2012 01:37
Sir Loin Steak is currently offline  Sir Loin Steak
Messages: 42
Registered: January 2012
Member
Hi all

I have a quick question I hope you can help with. I have been making a
plot with GDL, and it comes out as expected, with the axes in the
ranges I want. However, when I use the exact same code with IDL, it
refuses to accept the ranges I have specified. For example, with the
following code

loadct, 0, /silent
plot, [0], [0], /nodata, xrange=[0,1200], yrange=[-90,90], $
yticks=6, xticks=10, $
color=0, background=255, $
xtitle='Time', ytitle='Latitude'

GDL plots fine, but IDL sets the x-axis to [-400,1600] and the y-axis
to [-150,150]. Can anyone offer any insight as to why it works with
GDL but not IDL??? It's beginning to annoy me now, especially since it
will no doubt be something obvious!

Many thanks,

Jack
[Message index]
 
Read Message
Previous Topic: Where is where?
Next Topic: Re: Specifying plot ranges

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

Current Time: Fri Oct 10 13:24:44 PDT 2025

Total time taken to generate the page: 1.04329 seconds