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
 Forum for Origin C
 Problem in color of the plot

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
phdkrish19 Posted - 10/07/2022 : 12:28:14 AM
Origin Ver. and Service Release (Select Help-->About Origin): 2022b
Operating System: windows 11

Hi,

I am creating two Y plots by using the command plotxy iy:= ((44,47),(44,48)) plot:=201 . 44,47,48 are column numbers. But the two Y plots are in same color - Black. I want them to be in different color. Please let me know how to right a program for creating the plot with two different colors.

Thanks in advance
Krish.
4   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 10/13/2022 : 09:18:57 AM
Assuming you have made a grouped line plot, you can try the script below to set the first line color using HTML color code.

range r1 = 1; 
set r1 -gm 1; // set edit mode to independent
set r1 -c Color("#00FF00");  // set color


James
phdkrish19 Posted - 10/13/2022 : 02:04:21 AM
Thanks!

But I want them to be my preferred color. for example, I want the plots in Green and blue. Please let me know what the command for this is.

Thanks in advance
Krishnan.

quote:
Originally posted by YimingChen

layer.plots.COLORINC=1;


phdkrish19 Posted - 10/13/2022 : 02:01:09 AM
Thanks a lot!

quote:
Originally posted by YimingChen

layer.plots.COLORINC=1;


YimingChen Posted - 10/07/2022 : 12:14:49 PM
layer.plots.COLORINC=1;

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