Re: (simple question) PLOT, YTICKS in /YLOG AXIS [message #59495 is a reply to message #59493] |
Fri, 28 March 2008 13:06   |
natha
Messages: 482 Registered: October 2007
|
Senior Member |
|
|
Yeah,
Looks this example:
Plot, [10], [0.3], yr=[0.22,0.55], xr=[0,20], ystyle=1, /ylog,
psym=2, yticks=1, ytickv=loglevels([0.22,0.55])
the result is:
% PLOT: Data coordinate system not established.
Cheers,
Bernat
On Mar 28, 3:28 pm, David Fanning <n...@dfanning.com> wrote:
> bernat writes:
>> The only problem that I have is in some cases.
>> For example, if I want to representate a log axis with values
>> [0.2,0.55]. Then the loglevels returns 0.5 but if I do the plot with
>> YTICKS=1 and YICKV=LOGLEVELS(yrange) the following problem occurs:
>
>> % PLOT: Data coordinate system not established.
>
>> Do you know why ? What can I do to solve this problem ?
>
> I don't seem to have that problem. This command works fine:
>
> IDL> plot, indgen(11), Scale_vector(indgen(11), 0.1, 0.55), $
> /ylog, ytickv=loglevels([0.2, 0.55]), yticks=1, ystyle=1
>
> Do you have a specific command that doesn't work?
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|