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 #25413 is a reply to message #25395] Fri, 08 June 2001 08:52 Go to previous messageGo to previous message
Hilmar GUDMUNDSSON GL is currently offline  Hilmar GUDMUNDSSON GL
Messages: 2
Registered: June 2001
Junior Member
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
&nbsp;
<br>Thanks, but it must be something different. I have !x.style=1 &amp;!y.style=1.&nbsp;&nbsp;
BTW I'm using PV-WAVE 7.0.
<p>Hilmar
<p>David Fanning wrote:
<blockquote TYPE=CITE>Hilmar GUDMUNDSSON GL D21 2-4093 (hilmar@vaw.baug.ethz.ch)
writes:
<p>> I'm having problems with contour using a logarithmic x axis.&nbsp;
When
<br>> I contour the data using
<br>>
<br>> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CONTOUR, matrix, x,y, xrange
= [xmin, xmax], yrange = [ymin,
<br>> ymax], $
<br>> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; xtitle = x_t, ytitle
= y_t,&nbsp; max_value = 1000., level = levels,
<br>> xtype=1
<br>>
<br>> the contour lines only appear on a part of the plot. Depending on
the
<br>> exact values of xmin and xmax, the fraction of the plotting area
that is
<br>> contoured changes in an erratic fashion. I can used alog10(matrix)
and
<br>> alog10(x),&nbsp; which produces a plot which is OK but I would rather
like to
<br>> stick to having the x axis logarithmic if possible.
<br>>
<br>> Has someone else run into this problem? Any solutions?
<p>You are running into IDL's very persistent aesthetic
<br>sensibilities about what constitutes "nice-looking"
<br>axes. You have to hit it upside of the head. Try
<br>setting the XSTYLE&nbsp; and YSTYLE keywords to 1. :-)
<p>Cheers,
<p>David
<br>--
<br>David Fanning, Ph.D.
<br>Fanning Software Consulting
<br>Phone: 970-221-0438 E-Mail: davidf@dfanning.com
<br>Coyote's Guide to IDL Programming: <a href="http://www.dfanning.com/">http://www.dfanning.com/</a>
<br>Toll-Free IDL Book Orders: 1-888-461-0155</blockquote>

<pre>--&nbsp;
&nbsp;&nbsp; G. Hilmar Gudmundsson
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am p;nbsp; Home:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; VAW-ETH Zentrum&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp; Burstwiesenstrasse 21&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Gloriastrasse 37/39&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp; CH-8606 Greifensee ZH
Swiss Federal Institution of Technology&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Switzerland
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; CH-8092 Z&uuml;rich&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Switzerland
Phone: +41-1-632 40 93&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp; +41-1-940 51 15, (m) 079 706 30 20
Fax: +41-1-632 11 92
E-mail: hilmar@vaw.baug.ethz.ch&nbsp;
<A HREF="http://www.vaw.ethz.ch/vi/vaw_gz.vi_web/members/hilmar.html">http://www.vaw.ethz.ch/vi/vaw_gz.vi_web/members/hilmar.html</A></pre>
&nbsp;</html>
[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:29 PDT 2025

Total time taken to generate the page: 0.31868 seconds