Author |
Topic ![Next Topic Next Topic](icon_go_right.gif) |
|
daniele90
4 Posts |
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!
|
Edited by - daniele90 on 10/11/2018 2:47:00 PM |
|
Hideo Fujii
USA
1582 Posts |
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
|
![Go to Top of Page Go to Top of Page](icon_go_up.gif) |
|
daniele90
4 Posts |
|
Hideo Fujii
USA
1582 Posts |
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 |
Edited by - Hideo Fujii on 10/12/2018 10:24:01 AM |
![Go to Top of Page Go to Top of Page](icon_go_up.gif) |
|
daniele90
4 Posts |
Posted - 10/15/2018 : 04:57:10 AM
|
thank you very much Hideo Fujiii, you have been very helpful!!![](icon_smile.gif) |
![Go to Top of Page Go to Top of Page](icon_go_up.gif) |
|
|
Topic ![Next Topic Next Topic](icon_go_right.gif) |
|
|
|