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
 Origin Forum
 error bars with a min and max

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
kentmey Posted - 04/09/2014 : 1:52:27 PM
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
3   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 04/11/2014 : 12:00:16 PM
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
greg Posted - 04/10/2014 : 1:59:29 PM
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)

lkb0221 Posted - 04/09/2014 : 3:22:33 PM
Hi,

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

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

Zheng
OriginLab

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