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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 more colors available?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

viggozhang

Belgium
10 Posts

Posted - 03/08/2012 :  05:06:01 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

Hey, could anybody tell me whether it is possible to induce more colors into Origin 6.1? As you know, sometimes, you have so many curves plotted on one figure and you wanna make them distinguishable(I know you may use different line styles or symbols, but those ways are really not my cup of tea...).

Thanks in advance~

greg

USA
1378 Posts

Posted - 03/09/2012 :  10:32:55 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
In Origin 6.1 you can add up to 16 custom colors by using the Format : Color Palette dialog.

Warning: Modifying a color or changing a position of a color which Origin uses will have consequences. Origin Templates and procedures make use of Black, Red, Green, Blue, Dark Yellow, White, Light Gray and LT Yellow.

Note: Unlike newer versions of Origin, any custom color (position 25 to 40) will not travel with a project file to another computer.
Go to Top of Page

viggozhang

Belgium
10 Posts

Posted - 03/09/2012 :  11:35:58 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
i appreciate the info a lot.

quote:
Originally posted by greg

In Origin 6.1 you can add up to 16 custom colors by using the Format : Color Palette dialog.

Warning: Modifying a color or changing a position of a color which Origin uses will have consequences. Origin Templates and procedures make use of Black, Red, Green, Blue, Dark Yellow, White, Light Gray and LT Yellow.

Note: Unlike newer versions of Origin, any custom color (position 25 to 40) will not travel with a project file to another computer.

Go to Top of Page

AdamSanders

USA
1 Posts

Posted - 03/13/2012 :  05:56:01 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
By any chance, is there a way to revert back to the default settings of the color palette?
Go to Top of Page

greg

USA
1378 Posts

Posted - 03/13/2012 :  1:54:52 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Prior to version 8, the full Color Palette would be found in the ORIGIN.INI if a user had edited of added to the palette. The INI would have a [Color List] section with colors defined in the format
Color Name=RedValue GreenValue BlueValue (each value from 0 to 255)
like
[Color List]
Black=0 0 0
Red=255 0 0
Green=0 255 0
Blue=0 0 255
Cyan=0 255 255
Magenta=255 0 255
Yellow=255 255 0
Dark Yellow=128 128 0
Navy=0 0 128
Purple=128 0 128
Wine=128 0 0
Olive=0 128 0
Dark Cyan=0 128 128
Royal=0 0 160
Orange=255 128 0
Violet=128 0 255
Pink=255 0 128
White=255 255 255
Light Gray=192 192 192
Gray=128 128 128
LT Yellow=255 255 128
LT Cyan=128 255 255
LT Magenta=255 128 255

Note that the above is the Origin default Color Palette. If you exit Origin, you can
Delete the entire [Color List] section from the INI to restore default
or
Edit the list in the INI to match the above plus add up to 16 more user-defined colors.

Version 8 and later protects the first 24 colors (the default list) and allows you to add up to 16 more Custom colors using the Windows standard Color dialog. When Custom colors are defined, Origin creates a CustomColors.INI file in your User Files Folder which looks like this:
[Color]
Color0=12446205
Color1=3579842
Color2=29153
Color3=36802
Color4=15728127
Color5=3052020
where the numbers are RGB values such as
RedValue + 256 * (GreenValue + 256 * BlueValue) = 12446205
253 + 256 * (233 + 256 * 189) = 12446205
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000