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

Home » Public Forums » archive » Re: bar_plot probs?
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
Re: bar_plot probs? [message #10122] Mon, 20 October 1997 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Matt Savoie (savoie@fsl.noaa.gov) writes:
>
> Hey, does anyone out there have a fix for this?
>
> I'm trying to use bar_plot On:
> IDL. Version 4.0.1 (sunos sparc).
> try:
>
> bar_plot, [100.,100.]
> bar_plot, [0.,100.], /rotate
> ^^^^ these work
>
> This doesn't:
> bar_plot, [100., 100.], /rotate
>
> When I try to do a rotated bar_plot, and all the values are the same,
> I get an error.
>
> % AXIS: Data coordinate system not established.
> % Execution halted at: BAR_PLOT
> 233 /home/rsi/idl_4/lib/bar_plot.pro
> % $MAIN$
> Does anyone have a fix for it?

This seems to work in IDL 5. Try making your plot first with
a NODATA keyword set on a Plot command. Then use your
BarPlot command with the OVERPLOT keyword set. This will
make sure you have a data coordinate system established.

Cheers,

David

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: kind of newsreader
Next Topic: bar_plot probs?

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

Current Time: Sat Oct 11 14:19:41 PDT 2025

Total time taken to generate the page: 0.32090 seconds