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
 Origin Forum
 Bug in bar graph
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

SteffenG

Germany
Posts

Posted - 01/16/2012 :  04:51:22 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 8.5.1G SR2 and 8.6.0G
Operating System: Win XP

Hello,

there seems to be a bug in Origins bar graphs. If you use a bar graph and you scale your y-axis from somewhat different from zero an additional x-axis appear at an artificial level of zero.

You can check this with the following steps:
Within a worksheet fill in the first column with 1; 2; 3 in the first 3 rows.
Fill the second column with 75; 80; 85.
Mark the second column and choose the bar graph symbol to draw a bar graph.
Within the bar graph change the lower y-scale from 0 to 10.
You will see an additional line below the x-axis.

Maybe this bug could be solved within the next SR.
Best regards,
Steffen

Hideo Fujii

USA
1582 Posts

Posted - 01/17/2012 :  12:35:11 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Correction:
To hide the y=0 axis below the graph:
In Axis dialog, go to Grids tab.
Choose Vertical on left panel.
Uncheck Y=0

Thanks, Snow

------------------------------------------------

Dear Steffen,

Thank you very much for pointing out the problem of positioning the vertical axis when the scale is changed. I have reported the problem so that our developers can look at the issue to fix it.

For a meantime, as a work-around, open X Axis dialog, choose Title & Format tab, choose "Left" axis, and select "at Position=" for Axis Position, and enter 10 (i.e. "From" value of the axis scale) for the "Percent/Value" field to put the vertical axis at the correct position.

--Hideo Fujii
OriginLab

Edited by - Hideo Fujii on 01/17/2012 1:36:15 PM
Go to Top of Page

SteffenG

Germany
Posts

Posted - 01/20/2012 :  06:19:37 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Dear Hideo Fujii,

thanks for your suggestion for the work around. Unfortunately this doesn't work for me. I can write every value into the "at position" field. This doesn't change the additional line at the artificial level of zero.

Best regards,
Steffen
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 01/20/2012 :  10:40:18 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Dear Steffen,

> I can write every value into the "at position" field.
>This doesn't change the additional line at the artificial level of zero.

hmmm...strange - Could you please try either of the following?

1) When you set 0 to "At Position=", instead of hitting "Apply" button, press "OK" button.

2) Set "% from Left" (instead of "At Position=") to 0 for the Axis Position.

3) Click-and-drag the vertical axis to move it to the right position.

Any one of them worked?

--Hideo Fujii
OriginLab

Edited by - Hideo Fujii on 01/20/2012 10:50:05 AM
Go to Top of Page

easwar

USA
1964 Posts

Posted - 01/20/2012 :  12:23:38 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Steffen,

How about, in Axis dialog:
1> Go to Title and Format tab
2> Select "Left" in the left panel
3> Change the "Axis Position" drop-down to "Left"
Then the axis will be drawn always on the left end of the layer, irrespective of the from and to values. Then, optionally, you can also turn on the Y=0 check box in Gridlines tab if desired (if the range of values go both positive and negative for instance).

Does this do what you want?

Easwar
OriginLab
Go to Top of Page

SteffenG

Germany
Posts

Posted - 01/27/2012 :  03:58:23 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi all,

thanks for your comments. May be I have to point out that I see an additional line below the X-axis. The Y-axis looks good. It looks like that the x-axis is doubled. I receive a x-axis at the right position and a line below the x-axis at the artificial level of zero. You will see this if you follow my error description in my first post.

Right now my work around is the following. I disabled the x-axis and draw a horizontal line at the Y1-coordinate.

Best regards,
Steffen



quote:
Originally posted by easwar

Hi Steffen,

How about, in Axis dialog:
1> Go to Title and Format tab
2> Select "Left" in the left panel
3> Change the "Axis Position" drop-down to "Left"
Then the axis will be drawn always on the left end of the layer, irrespective of the from and to values. Then, optionally, you can also turn on the Y=0 check box in Gridlines tab if desired (if the range of values go both positive and negative for instance).

Does this do what you want?

Easwar
OriginLab

Go to Top of Page

asp

USA
17 Posts

Posted - 01/30/2012 :  11:23:56 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Let me suggest workaround. For the example you suggested try first plot scatter plot and than being in the graph window change plot type to bar. It worked for me in 8.5.1.
Go to Top of Page

SteffenG

Germany
Posts

Posted - 04/12/2012 :  08:59:37 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello asp,

thanks a lot for this work around. This works also in 8.6.0 SR2.

Best regards,
Steffen
Go to Top of Page

snowli

USA
1379 Posts

Posted - 10/14/2016 :  12:48:26 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

I have corrected Hideo's first reply.

The fix is actually very straight forward.

In Axis dialog, go to Grids tab.
Choose Vertical on left panel.
Uncheck Y=0.


For Column and Bar graph, we check Y=0 on Grids tab by default so bars will always start from y=0 line.

This is useful e.g. if you have negative and positive y values. You want to plot negative bars downwards from 0.

But for users who set both Y axis from and to values to be positive, the extra y=0 shows below the axis frame. I have jiraed in https://originlab.jira.com/browse/ORG-15468 and suggested our developer to hide the additional y=0 line if it's beyond the Y axis range.

Thanks, Snow
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