List Info

Thread: trouble using 2 plots on the same chart




trouble using 2 plots on the same chart
user name
2008-06-30 15:53:53
I wish to put 2 plots on the same chart: a vertical column
(bars) and a lineplot. Basically the bar plot is a
"histogram" and the line a fit to the data.
Whatever the order in which I create both plots, once the
second is created, the X axis still has the correct scale
(say 0 to 120) but the bars are just shifted to the right
between 0 and 40 (there are actually 40 bins/bars). This
means that as long as only one plot is created the X axis is
ok (correct scale).
Is there a way to circumvent this problem ? The strange
thing is that when using a histogram plot (density; like I
did before knowing it was not what I needed) together with a
lineplot worked just fine i.e. both plots were
superimposed.
Thanx for any help.
Pascal

_______________________________________________
gnumeric-list mailing list
gnumeric-listgnome.org

http://mail.gnome.org/mailman/listinfo/gnumeric-list

Re: trouble using 2 plots on the same chart
country flaguser name
France
2008-07-01 01:09:24
Le lundi 30 juin 2008 à 22:53 +0200, Pascal Duchatelle a
écrit :
> I wish to put 2 plots on the same chart: a vertical
column (bars) and a lineplot. Basically the bar plot is a
"histogram" and the line a fit to the data.
Whatever the order in which I create both plots, once the
second is created, the X axis still has the correct scale
(say 0 to 120) but the bars are just shifted to the right
between 0 and 40 (there are actually 40 bins/bars). This
means that as long as only one plot is created the X axis is
ok (correct scale).
> Is there a way to circumvent this problem ? The strange
thing is that when using a histogram plot (density; like I
did before knowing it was not what I needed) together with a
lineplot worked just fine i.e. both plots were superimposed.
> Thanx for any help.
> Pascal

You most probably use an xy scatter plot as the second plot.
I think
that a line plot would be more appropriate in your case.

Regards,
Jean

_______________________________________________
gnumeric-list mailing list
gnumeric-listgnome.org

http://mail.gnome.org/mailman/listinfo/gnumeric-list
Re: trouble using 2 plots on the same chart
country flaguser name
United Kingdom
2008-07-01 05:33:19
Le Tue, 01 Jul 2008 08:09:24 +0200,
Jean Bréfort <jean.brefortnormalesup.org> a écrit
:

> Le lundi 30 juin 2008 à 22:53 +0200, Pascal Duchatelle
a écrit :
> > I wish to put 2 plots on the same chart: a
vertical column (bars) and a lineplot. Basically the bar
plot is a "histogram" and the line a fit to the
data. Whatever the order in which I create both plots, once
the second is created, the X axis still has the correct
scale (say 0 to 120) but the bars are just shifted to the
right between 0 and 40 (there are actually 40 bins/bars).
This means that as long as only one plot is created the X
axis is ok (correct scale).
> > Is there a way to circumvent this problem ? The
strange thing is that when using a histogram plot (density;
like I did before knowing it was not what I needed) together
with a lineplot worked just fine i.e. both plots were
superimposed.
> > Thanx for any help.
> > Pascal
> 
> You most probably use an xy scatter plot as the second
plot. I think
> that a line plot would be more appropriate in your
case.
You were right. Thank you.
Pascal

> 
> Regards,
> Jean
> 

_______________________________________________
gnumeric-list mailing list
gnumeric-listgnome.org

http://mail.gnome.org/mailman/listinfo/gnumeric-list
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )