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

Home » Public Forums » archive » BAR_PLOT with pairs of bars
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
BAR_PLOT with pairs of bars [message #64849] Thu, 22 January 2009 09:09
Jeff[2] is currently offline  Jeff[2]
Messages: 18
Registered: November 2007
Junior Member
Hi,
I'm trying to plot two sets of bars in the same plot. Each set has
always the same number of records. I'm doing that with sets containing
28 values, so I have 56 bars or 28 pairs of bars to be plotted.

bar_plot, bar1, baselines=baselines, outline=outline, $
colors=colorbar1,/overplot, barwidth=0.3,barspace=0.694, baroffset=0.9

bar_plot, bar2, baselines=baselines, outline=outline, $
colors=colorbar2,/overplot, barwidth=0.3, barspace=0.694,
baroffset=1.9

The result is OK. But when I use sets containing 15 or 10 records, the
bars are not plot correctly. Isn't there any way to fix barspace and
baroffset according to the number of bars to be plotted?

Best,
Julio
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Duplicate lat/long points
Next Topic: Structure of arrays or arrays of structures?

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

Current Time: Wed Oct 08 15:47:28 PDT 2025

Total time taken to generate the page: 0.00499 seconds