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
 plotxy of two y data sets set the color of sybols

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
asafok Posted - 03/15/2019 : 06:39:06 AM
Origin Ver. 2019 and Service Release (Select Help-->About Origin):
Operating System:windows 10
I want to set the color of symbolrs when i plot two data sets at once. This script does not work:
plotxy iy:=(3,10:11) plot:=201 color:=2;

the color command is ignored and the symbol colors are black.
Help?
2   L A T E S T    R E P L I E S    (Newest First)
minimax Posted - 03/18/2019 : 01:18:46 AM
Hi asafok,

If you want use a same color for both plots, you can use scripts

plotxy iy:=(3,10:11) plot:=201 ogl:=<new template:=scatter>; 
doc -e d {set %C -c 2;};


if want the plots increment from red, you can use scripts:

plotxy iy:=(3,10:11) plot:=201 color:=2 ogl:=<new template:=scatter>;


In either case, we suggest you specify the matching template to be used in the script ogl:=<new template:=scatter>

And "color" option is basically useful only when it is a single plot.


yuki_wu Posted - 03/17/2019 : 11:21:48 PM
Hi,

I am sorry that it seems that it is a bug. We have added this issue to our bugtracking database (ID: ORG-17745-P2). Sorry for the inconvenience.

Regards,
Yuki

OriginLab

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