The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Column graph plots negative
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

kemcelroy

USA
13 Posts

Posted - 12/14/2004 :  10:16:17 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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:



Has anyone come across this prolem and do you know a fix?

greg

USA
1380 Posts

Posted - 12/16/2004 :  1:23:41 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You do not mention linking, and your layers 2 and three should probably be linked to Layer1 with Y Axis Scaling set to 1:1.

If this does represent a three layer graph, then you must have done a lot of hand tweaking of the Column Gap and the X Axis scale or Layer Left position in each layer. The real details of what you actually did will dramatically change any solution anyone could present.

P.S. This is more a question for the Origin forum, than the OriginC forum.



Edited by - greg on 12/16/2004 1:25:04 PM

Edited by - greg on 12/17/2004 4:21:04 PM
Go to Top of Page

kemcelroy

USA
13 Posts

Posted - 12/17/2004 :  4:21:42 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Sorry that I mis-posted this topic. I will re-post in the correct forum.

The layers are linked to Layer 1 and I did tweak the Column Gap and X-axis, but it did not take very long.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000