Re: changing the format of axis [message #78470 is a reply to message #78363] |
Wed, 23 November 2011 08:04   |
khorsand10
Messages: 12 Registered: November 2011
|
Junior Member |
|
|
On Nov 23, 2:48 pm, David Fanning <n...@dfanning.com> wrote:
> 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.")
Thanks David. I want to insert legend as well. In iplot I can easily
add '/Insert_Legend' to do that but I don't know how to do it using
plot, plots or cgplot.
|
|
|