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 9 of 13 Topic 5576 of 6256
Post > Topic >>

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

by David Fanning <news@[EMAIL PROTECTED] > Mar 28, 2008 at 02:52 PM

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, $
      YTICKV=Reverse(ticks)

Cheers,

David
-- 
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Se****e ma de ni thui. ("Perhaps thou speakest truth.")
 




 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 Sun Oct 12 23:39:55 CDT 2008.