Re: changing the format of axis [message #78476 is a reply to message #78363] |
Wed, 23 November 2011 06:48   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Jeremy Bailin writes:
>>> So if I do
>>> plot, x, y, xtickv=x, xticks=n_elements(x)-1
>>>
>>> then I get what you want.
>>>
>>> -Jeremy.
>>
>> Thanks Jeremy, it works.
>> Do you know how I can do this iplot function?
>
> Sorry, I very rarely use iplot so I don't know.
Seriously, why would you *want* to use iPlot!?
If you want to put this into a resizeable window
where you can save it to all kinds of output formats,
etc., then just do this:
cgPlot, x, y, xtickv=x, xticks=n_elements(x)-1, /Window
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|