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

Home » Public Forums » archive » IDL 8.0 Barplot can not generate Log X axis
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL 8.0 Barplot can not generate Log X axis [message #72411] Wed, 15 September 2010 15:55 Go to next message
Maher is currently offline  Maher
Messages: 12
Registered: September 2005
Junior Member
Using this code I am supposed to get a logarithmic X axis in both
plots, but only line plot works, and the Barplot generates a normal X
axis! Any idea?
Thanks
Maher


x = findgen(100)+1
p1 = plot(x,x,title='Test',/Xlog)
p2 = barplot(x,x,title='Test',/Xlog)
Re: IDL 8.0 Barplot can not generate Log X axis [message #72624 is a reply to message #72411] Wed, 22 September 2010 10:22 Go to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Sep 15, 4:55 pm, Maher <malka...@gmail.com> wrote:
> Using this code I am supposed to get a logarithmic X axis in both
> plots, but only line plot works, and the Barplot generates a normal X
> axis! Any idea?
> Thanks
> Maher
>
> x = findgen(100)+1
> p1 = plot(x,x,title='Test',/Xlog)
> p2 = barplot(x,x,title='Test',/Xlog)

Hi Maher,

There were some issues with logarithmic barplots in IDL 8.0. These are
all fixed now, and will be available in an upcoming release. In the
meantime, try setting XRANGE=[0.5,102] in the barplot() call.

Cheers,
Chris
ITTVIS
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: call ENVI menu routines
Next Topic: IDL8.0 plot() function : how to plot to PS file like with DG "Set_Plot"?

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

Current Time: Wed Oct 08 17:54:55 PDT 2025

Total time taken to generate the page: 0.00263 seconds