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

Home » Public Forums » archive » changing the format of axis
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: changing the format of axis [message #78470 is a reply to message #78363] Wed, 23 November 2011 08:04 Go to previous messageGo to previous message
khorsand10 is currently offline  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.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: gdl 0.9.2 delivered
Next Topic: IDL tools

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

Current Time: Sun Oct 12 08:47:43 PDT 2025

Total time taken to generate the page: 1.67919 seconds