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
 Other line type for error bars?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

charge75

China
1 Posts

Posted - 07/07/2006 :  5:51:40 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I am wondering if there is any way to change the line type for error bars, seems there is no chance to change the default solid line type now.

Thanks a lot.

lijun

Deanna

China
Posts

Posted - 07/09/2006 :  9:42:27 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, lijun.

I am regret to say that the current version of Origin does not support other line types for error bar. We will consider adding this feature in our future product.

Deanna
OriginLab GZ Office
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 07/10/2006 :  3:29:33 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi lijun,

As a work-around, you can mimic the error bars with a line plot with the 2-point segment connection like below. This can be done by the following script (from a 3-column worksheet):
/////////////////////////////////////////
%J=%H;
iimax=wks.maxrows;
window -t wks;
worksheet -a 1;
wks.col3.type=3; //Set the 3rd col as YErr
%K=%H;
for(ii=1;ii<=iimax;ii++) {
%(%K,1,ii*2-1)=%(%J,1,ii);
%(%K,1,ii*2)=%(%J,1,ii);
%(%K,2,ii*2-1)=%(%J,2,ii)-%(%J,3,ii);
%(%K,2,ii*2)=%(%J,2,ii)+%(%J,3,ii);
%(%K,3,ii*2-1)=1E-300;
%(%K,3,ii*2)=1E-300;
};
window -t plot;
layer -i#200 %(%K,2) %(%K,3); //Line for errors
set %(%K,2) -l 2; //2-Point Segment
set %(%K,2) -d 2; //2:Dash, 3:Dot, etc.
layer -i#200 %(%J,2); //Line from original values
layer -a;
////////////////////////////




--Hideo Fujii
OriginLab

Edited by - Hideo Fujii on 07/10/2006 3:39:03 PM
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