T O P I C R E V I E W |
kemcelroy |
Posted - 12/17/2004 : 4:32:00 PM Origin Version (Select Help-->About Origin): 7SR4 Operating System: Windows XP
I have created a column graph and broken up the data into three sets, plotted as layers. Dataset one is rows 1 through 8 and is plotted in layer 1. Dataset 2 is rows 9-16 in layer 2 and dataset 3 is rows 17-24 in layer 3.
Layer 1 looks fine. Layers 2 and 3 are plotting from negative infinity, it seems. For example, if the y-axis is scaled from -20 to +200, there is nothing plotted below the x-axis in layer 1, as expected since there are no negative numbers in rows 1 to 8. However, layer 2 and 3's all of the columns extend below the x-axis. The only negative numbers which should be plotted are a -11 and a -2 in layer 3. In this case, the bar for the x value corresponding to -11 extends from -20 (the bottom of the plot) to -11, while the bar for the x value corresponding to -2 in layer 3 extends from -20 to -2 (instead of from -11 to 0 and -2 to 0, respectively). For all of the positive values, the columns extend from -20 to +n, where n is the positive value. Here is the plot I get:

Layers 2 and 3 are linked 1:1 to the Y-axis of Layer1 and custom scaled to the X-axis.
Has anyone come across this prolem and do you know a fix? |
3 L A T E S T R E P L I E S (Newest First) |
kemcelroy |
Posted - 01/13/2005 : 3:44:59 PM Thanks for the tip, Laurie. Changing the x-axis from bottom to 0 fixed the problem. |
Laurie |
Posted - 12/22/2004 : 09:58:06 AM My guess is that layer 2 and 3 do not have their X axis positioned at Y=0. If you open the X Axis dialog for Layer 2 and then for Layer3, I bet that on the Title&Format tab, the Axis Position is Bottom, compared with at 0 for the X axis in layer 1, the visible X axis on your graph. (I assume that you hid the axes for layers 2 and 3).
OriginLab Technical Support |
Mike |
Posted - 12/21/2004 : 10:12:28 AM Hi kemcelroy,
It isn't clear to me why you would bother trying to plot your data in three separate layers; generally, you wouldn't need to do so unless you had widely differing data values or you were plotting against multiple independent variables (either would necessitate use of different Y scales) or you wanted to combine different graph types in a single graph (say, a column graph and a line graph).
How about just breaking your data set into three Y columns of data, selecting all three Y columns, then plotting as a simple column graph? Once plotted, you can customize fills and patterns to suit you.

I hope this helps.
Mike OriginLab
Edited by - Mike on 12/21/2004 11:57:16 AM
Edited by - Mike on 12/22/2004 09:25:08 AM |
|
|