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
 I need to plot a graph with different colours.

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
daniele90 Posted - 10/11/2018 : 10:42:25 AM
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:
Hi, I have a worksheet, A (x) and B (y) with 1040 points.
I would like to draw different pairs of points with different colors. For example from 1 to 104 in blue, from 105 to 209 in red, etc etc ....

Thank you!
4   L A T E S T    R E P L I E S    (Newest First)
daniele90 Posted - 10/15/2018 : 04:57:10 AM
thank you very much Hideo Fujiii, you have been very helpful!!
Hideo Fujii Posted - 10/12/2018 : 10:21:55 AM
Hi daniele90,

It seems that you have chosen "Map:col(C)" (for color mapping with color scaling) instead of
"Index:col(C)". Please recheck. (Color mapping is useful for the smooth color transition using
palette for e.g., in contour plot.)

One correction, when you choose color indexing, the coloring is controlled by the color list
which was also shown in the Color Chooser. Its default is "Q13 Color4Line" in recent versions.
You can change it to other color list there, or modify from the "Color List" tab in the Plot Details
dialog.

Hope this helps.

--Hideo Fujii
OriginLab
daniele90 Posted - 10/12/2018 : 05:57:36 AM
thank you so much, now I can draw a multicolored chart.

but I get this correspondence between numbers and colors:

1---->red,
2--->yellow,
3---->cyan,
4----> blue..

different from the one in the link:
https://www.originlab.com/doc/LabTalk/ref/List-of-Colors.
Hideo Fujii Posted - 10/11/2018 : 3:58:06 PM
Hi daniele90,

You can apply "indexing" coloring to the data plot by referring to the extra data column. So, when you have
a plot from A(X) and B(Y), first make an extra column C in the worksheet, and enter the color values as
1=BLACK, 2=RED, etc. (see https://www.originlab.com/doc/LabTalk/ref/List-of-Colors) in this column.
Then, double-click the plot to open the Plot Details dialog. Select "Line" tab (or "Symbol" tab for symbols),
and for Color, you can set Index:col(C) in the "Color Chooser". Origin will assign the colors according
to the color list. See details: https://www.originlab.com/doc/Origin-Help/PlotColor-DatasetControl#Indexing

Hope this helps.

--Hideo Fujii
OriginLab

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