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

Home » Public Forums » archive » log axis with negative numbers
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
log axis with negative numbers [message #87960] Thu, 06 March 2014 14:58 Go to previous message
larsonej is currently offline  larsonej
Messages: 3
Registered: September 2012
Junior Member
Does anyone know of a way or workaround to make linear plots with a log axis that includes negative numbers. This comes up when plotting thins like vertical winds in a planetary atmosphere. The higher you go, the larger the magnitude of the wind by several orders and the sign can vary from positive to negative.

The other time this comes up is when I make a 2D contour map in which I specify levels such as [-1.e3,-1.e2,-1.e1,0,1.e1,1.e2,1.e3]. IDL makes a great color contour map, however I cannot figure out a colorbar that has colors that actually match the values in the contour plot.

Basically, I am looking for a plotting routine in which I input the maximum and minimum values for the negative and positive sides of the plot and in between the two minimums, the plot can be linear, or empty, doesn't really matter.

Any help would be appreciated.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Problem changing color table
Next Topic: ENVI_SVM_DOIT Memory Problem

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

Current Time: Wed Oct 08 13:31:18 PDT 2025

Total time taken to generate the page: 0.00489 seconds