IDL 8.0 Barplot can not generate Log X axis [message #72411] |
Wed, 15 September 2010 15:55  |
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  |
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
|
|
|