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

Home » Public Forums » archive » Setting axes range in function graphics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Setting axes range in function graphics [message #87765] Wed, 26 February 2014 11:30 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
I am embarrassed to ask this simple question, especially since I already asked it a couple of years ago (but I can't locate the question/answer in Google groups).

How does one set the axis range in function graphics? I know you can set the xrange property

IDL> p = plot(indgen(10))
IDL> p.xrange = [2,6]

but how does one do this graphically? If I double click on the plot, or click on the "Properties..." button, I get a list of properties but axis range is not among them. Similarly, if I click on one of the axes I get a list of axis properties but axis range is not among them. There is a "Reset Axis Range" button which is great, if I could ever figure out how to set the axis range in the first place.

Ideally, I would be able set the X/Y ranges using the cursor (i.e. draw a box over the desired plot range), though I don't remember this capability being mentioned in the previous answer.

Thanks, --Wayne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bar coordinate shift with cgBarPlot
Next Topic: mpfit with asymmetric errors?

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

Current Time: Wed Oct 08 11:27:19 PDT 2025

Total time taken to generate the page: 0.00424 seconds