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 
Return to the default flat view Create a new topic Submit Reply
Re: How to fix axes using BAR_PLOT and multiplot? [message #44768] Thu, 14 July 2005 08:37 Go to previous message
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
[Message index]
 
Read Message
Read Message
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: Sat Oct 11 19:34:30 PDT 2025

Total time taken to generate the page: 0.00177 seconds