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 #78452 is a reply to message #78363] Thu, 24 November 2011 02:25 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.")

The graph created by iPlot looks nicer than the one produced by Plot
function, i.e. the text format. I also can move the legend window to
an empty place on the graph easily. If only I can add something like
'xtickv=x, xticks=n_elements(x)-1' to iPlot ...
[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: Wed Oct 08 19:20:39 PDT 2025

Total time taken to generate the page: 0.29033 seconds