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
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Column graph plots negative

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
kemcelroy Posted - 12/14/2004 : 10:16:17 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:



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

2   L A T E S T    R E P L I E S    (Newest First)
kemcelroy Posted - 12/17/2004 : 4:21:42 PM
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.
greg Posted - 12/16/2004 : 1:23:41 PM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000