Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: (simple que...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 10 of 13 Topic 5576 of 6256
Post > Topic >>

Re: (simple question) PLOT, YTICKS in /YLOG AXIS

by Paul van Delst <Paul.vanDelst@[EMAIL PROTECTED] > Mar 28, 2008 at 04:57 PM

David Fanning wrote:
> bernat writes:
> 
>> 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.
> 
> This happens when there is a mismatch between the number
> of values returned by LOGLEVELS and the number you use
> for YTICKS. This is why I think you should look at the
> *REVISED* web page article and use the code you find there:
> 
>    ticks = LOGLEVELS([0.22,0.55])
>    nticks = N_Elements(ticks)
>    Plot, data, /YLOG, YRANGE([0.22,0.55])YTICKS=nticks-1, $

Shouldn't that be
      YRANGE *=* [0.22,0.55] *,* YTICKS=nticks-1

?

Or does IDL workbench accept user-defined syntax?

:o)

Man, the minute hand sure does move slow on a friday.....

cheers,

paulv


>       YTICKV=Reverse(ticks)
> 
> Cheers,
> 
> David
 




 13 Posts in Topic:
(simple question) PLOT, YTICKS in /YLOG AXIS
bernat <bernat.puigdom  2008-03-28 09:56:15 
Re: (simple question) PLOT, YTICKS in /YLOG AXIS
Jo Klein <jo_kln@[EMAI  2008-03-28 18:18:28 
Re: (simple question) PLOT, YTICKS in /YLOG AXIS
David Fanning <news@[E  2008-03-28 11:46:47 
Re: (simple question) PLOT, YTICKS in /YLOG AXIS
bernat <bernat.puigdom  2008-03-28 10:55:05 
Re: (simple question) PLOT, YTICKS in /YLOG AXIS
David Fanning <news@[E  2008-03-28 12:22:06 
Re: (simple question) PLOT, YTICKS in /YLOG AXIS
bernat <bernat.puigdom  2008-03-28 12:18:17 
Re: (simple question) PLOT, YTICKS in /YLOG AXIS
David Fanning <news@[E  2008-03-28 13:28:14 
Re: (simple question) PLOT, YTICKS in /YLOG AXIS
bernat <bernat.puigdom  2008-03-28 13:06:16 
Re: (simple question) PLOT, YTICKS in /YLOG AXIS
David Fanning <news@[E  2008-03-28 14:52:02 
Re: (simple question) PLOT, YTICKS in /YLOG AXIS
Paul van Delst <Paul.v  2008-03-28 16:57:18 
Re: (simple question) PLOT, YTICKS in /YLOG AXIS
David Fanning <news@[E  2008-03-28 15:03:11 
Re: (simple question) PLOT, YTICKS in /YLOG AXIS
David Fanning <news@[E  2008-03-28 15:06:19 
Re: (simple question) PLOT, YTICKS in /YLOG AXIS
David Fanning <news@[E  2008-03-28 14:57:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 3:11:08 CDT 2008.