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

Home » Public Forums » archive » Re: contour with logarithmic 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: contour with logarithmic axis [message #25414 is a reply to message #25413] Fri, 08 June 2001 08:29 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Hilmar GUDMUNDSSON GL D21 2-4093 (hilmar@vaw.baug.ethz.ch) writes:

> I'm having problems with contour using a logarithmic x axis. When
> I contour the data using
>
> CONTOUR, matrix, x,y, xrange = [xmin, xmax], yrange = [ymin,
> ymax], $
> xtitle = x_t, ytitle = y_t, max_value = 1000., level = levels,
> xtype=1
>
> the contour lines only appear on a part of the plot. Depending on the
> exact values of xmin and xmax, the fraction of the plotting area that is
> contoured changes in an erratic fashion. I can used alog10(matrix) and
> alog10(x), which produces a plot which is OK but I would rather like to
> stick to having the x axis logarithmic if possible.
>
> Has someone else run into this problem? Any solutions?

You are running into IDL's very persistent aesthetic
sensibilities about what constitutes "nice-looking"
axes. You have to hit it upside of the head. Try
setting the XSTYLE and YSTYLE keywords to 1. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: A question to all you DLM experts...
Next Topic: Mapping question...

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

Current Time: Sat Oct 11 00:56:43 PDT 2025

Total time taken to generate the page: 0.80060 seconds