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

Home » Public Forums » archive » Re: How to fix axes using BAR_PLOT and multiplot?
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: How to fix axes using BAR_PLOT and multiplot? [message #44768] Thu, 14 July 2005 08:37
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
liko2@o2.pl wrote:
> Hi
>
> Im plotting two plots on one window using BAR_PLOT and MULTIPLOT.
> Problem is that both plots have different numbers of bars, and X axes
> dont match vertically (therefore bars are of different width). How to
> fix this problem?
>

1.) Force the bar plot of fewer data points to be the same size (same
number of bars) as the larger plot. If both plots have the exact same X
axis, they should line up. Of course, you'll need to put in extra bars
(i.e. data points), so I don't know if that will mess up anything else
in your graphic.

or

2.) Ditch multiplot and set the positions of each plot exactly. You can
make the plot of fewer bars smaller in the X direction which should
reduce the bar width somewhat. However, other attributes of your plot
will be scrunched along with it, so this might not be what you want.

-Mike
Re: How to fix axes using BAR_PLOT and multiplot? [message #44773 is a reply to message #44768] Thu, 14 July 2005 06:16 Go to previous message
liko2@o2.pl is currently offline  liko2@o2.pl
Messages: 15
Registered: July 2005
Junior Member
ps. I have tried every keywords for BAR_PLOT and it didnt help...
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL, GDL, copyright, EULAs and such
Next Topic: Re: How to add labels for bars with BAR_PLOT?

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

Current Time: Wed Oct 08 13:39:22 PDT 2025

Total time taken to generate the page: 0.00581 seconds