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
 error bars with a min and max
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

kentmey

United Kingdom
5 Posts

Posted - 04/09/2014 :  1:52:27 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi

I have four columns (x,y1,y2,y3). I would like to display the values of the columns y2,y3 as min and max of the error bars of y1.

I cannot do it with the yEr function since it considers that y1 is at the center of the error bar.

Any help on the way would be highly appreciated

Kentmey

at the beginning was origin

lkb0221

China
497 Posts

Posted - 04/09/2014 :  3:22:33 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I don't understand...Where is y1's error come from?

You mean like, y2 = min(abs((mean(y1)-y1))?

Zheng
OriginLab
Go to Top of Page

greg

USA
1378 Posts

Posted - 04/10/2014 :  1:59:29 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Perhaps what you mean is that you want different Plus and Minus error values. This can be set after you plot or in Plot Setup.

Assuming you plotted y1 vs x with both y2 and y3 as yEr...

  1. Double click directly on any error bar.
    (This opens Plot Details on the Error Bar tab with one of the yEr datasets selected on the left.)

  2. Uncheck either Plus or Minus (Depending on which yEr data was selected.)

  3. Select the other yEr data.

  4. Uncheck the box you did not uncheck above.

  5. Click OK


Assuming you haven't plotted...

  1. With nothing selected, choose Plot : Symbol : Scatter which opens the Plot Setup dialog

  2. Check the X box in the row of column 1

  3. Check the Y box in the row of column 2

  4. RIGHT CLICK ON THE yEr COLUMN HEADER and choose "Y Error Bars Plus/Minus"

  5. Check the yEr+ box for the row with plus error values

  6. Check the yEr- box for the row with minus error values

  7. Click OK (or Add and OK)


Edited by - greg on 04/11/2014 09:11:50 AM
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 04/11/2014 :  12:00:16 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Kentmey,

Not sure, but if your y2 and y3 data columns present the min-mx range, the following
procedure should do the job: (See the screenshot of my sample below)

1) Insert two columns before y2.
2) Using Set Column Values tool, put the y1-min and max-y1 in the inserted columns respectively.
3) Designate two columns as YErr.
4) Highlight y1 and following two columns, and make a plot.
5) Double-click the plot to show the Plot Details dialog;
  Select the second dataset from the left panel, and set it the error bar direction to "Minus" (in the "Error Bar");
  Select the third dataset from the left panel, and set it the error bar direction to "Plus".



Step 5) is the same to the Greg's explanation.

Hope this also helps.

--Hideo Fujii
OriginLab
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