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
 LabTalk Forum
 Plotting from labtalk and using LINE style

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
a.abc.b35 Posted - 11/11/2015 : 6:01:31 PM
Origin Ver. and Service Release (Select Help-->About Origin): 8.5.1
Operating System: win 7

I have customized by default line.otp template and saved that in the user folder with the said name. If I select two XY columns and click on the shortcut for line plot (with a slanted line symbol), I can get that working.

But if i type
plotxy iy:= (1,3) plot:=200
from the command line, it plots with the old line.otp template which i believe is saved in the C:/originlab...

I thought that origin will always check the user folder if any template of the same name existed and use that instead of the one in the C:/originlab...

For a manual plot this seems to work but not for a labtalk one linear. Can someone help me with this please?
Thanks,

AB
2   L A T E S T    R E P L I E S    (Newest First)
minimax Posted - 11/12/2015 : 10:23:46 PM
Hi AB,

Plot type and template are 2 separate concepts.

One template usually contains one default plot type.

On the other hand, different plot types can be added into a same template.

Therefore, in the plotxy tool (and most other tools in Origin), plot type can be different, but template has only one by default (which is origin.otp here).

That is why you see your custom line.otp is not used, but ogl:=<new template:=Line> will work.

Is it clear?


Max
a.abc.b35 Posted - 11/11/2015 : 6:21:47 PM
Using
plotxy iy:= (1,3) plot:=200 ogl:=<new template:=Line>;

works!

Is it a bug or it is just designed this way?

AB

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