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
 Custom Color Palette
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

millot.marius

USA
38 Posts

Posted - 11/02/2012 :  1:57:07 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 8.5.1
Operating System:win7 64

I'd like to create my own color palette to replace the rainbow.

As suggested by [1] I want to use 6 isoluminant colors, and a linear interpolation between them.

In the end i will use colormap to anchor the 6 base colors to 6 values of the colorscale quantity.

The 6 colors are (in RGB):

red: (0.847,0.057,0.057)
yellow: (0.527,0.527,0.000)
green: (0.000,0.592,0.000)
cyan: (0.000,0.559,0.559)
blue: (0.316,0.316,0.991)
magenta: (0.718,0.000,0.718)


However the create palette tool does not seem to let me choose the appropriate colors.


[1] G. Kindlmann, E. Reinhard, and S. Creem,Face-based luminance matching for perceptual colormap generation, IEEE Visualization, 2002. VIS 2002. 299 (n.d.)

See the palette i'd like to generate!

millot.marius

USA
38 Posts

Posted - 11/04/2012 :  8:10:53 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
ok, meanwhile i generated a palette in rgb in a txt format

is there a way to import that to Origin to be used as a colormap colorscale ?

the palette is

0.8470 0.0570 0.0570
0.8407 0.0662 0.0559
0.8345 0.0754 0.0548
0.8282 0.0846 0.0536
0.8219 0.0939 0.0525
0.8156 0.1031 0.0514
0.8094 0.1123 0.0503
0.8031 0.1215 0.0492
0.7968 0.1307 0.0481
0.7905 0.1399 0.0469
0.7843 0.1492 0.0458
0.7780 0.1584 0.0447
0.7717 0.1676 0.0436
0.7654 0.1768 0.0425
0.7592 0.1860 0.0414
0.7529 0.1952 0.0402
0.7466 0.2045 0.0391
0.7403 0.2137 0.0380
0.7341 0.2229 0.0369
0.7278 0.2321 0.0358
0.7215 0.2413 0.0346
0.7152 0.2505 0.0335
0.7090 0.2597 0.0324
0.7027 0.2690 0.0313
0.6964 0.2782 0.0302
0.6901 0.2874 0.0291
0.6839 0.2966 0.0279
0.6776 0.3058 0.0268
0.6713 0.3150 0.0257
0.6650 0.3243 0.0246
0.6588 0.3335 0.0235
0.6525 0.3427 0.0224
0.6462 0.3519 0.0212
0.6399 0.3611 0.0201
0.6337 0.3703 0.0190
0.6274 0.3795 0.0179
0.6211 0.3888 0.0168
0.6148 0.3980 0.0156
0.6086 0.4072 0.0145
0.6023 0.4164 0.0134
0.5960 0.4256 0.0123
0.5897 0.4348 0.0112
0.5835 0.4441 0.0101
0.5772 0.4533 0.0089
0.5709 0.4625 0.0078
0.5646 0.4717 0.0067
0.5584 0.4809 0.0056
0.5521 0.4901 0.0045
0.5458 0.4994 0.0034
0.5395 0.5086 0.0022
0.5333 0.5178 0.0011
0.5270 0.5270 0.0000
0.5167 0.5283 0.0000
0.5063 0.5295 0.0000
0.4960 0.5308 0.0000
0.4857 0.5321 0.0000
0.4753 0.5334 0.0000
0.4650 0.5346 0.0000
0.4547 0.5359 0.0000
0.4443 0.5372 0.0000
0.4340 0.5385 0.0000
0.4237 0.5397 0.0000
0.4133 0.5410 0.0000
0.4030 0.5423 0.0000
0.3927 0.5436 0.0000
0.3823 0.5448 0.0000
0.3720 0.5461 0.0000
0.3617 0.5474 0.0000
0.3513 0.5487 0.0000
0.3410 0.5499 0.0000
0.3307 0.5512 0.0000
0.3203 0.5525 0.0000
0.3100 0.5538 0.0000
0.2997 0.5550 0.0000
0.2893 0.5563 0.0000
0.2790 0.5576 0.0000
0.2687 0.5589 0.0000
0.2583 0.5601 0.0000
0.2480 0.5614 0.0000
0.2377 0.5627 0.0000
0.2273 0.5640 0.0000
0.2170 0.5652 0.0000
0.2067 0.5665 0.0000
0.1963 0.5678 0.0000
0.1860 0.5691 0.0000
0.1757 0.5703 0.0000
0.1653 0.5716 0.0000
0.1550 0.5729 0.0000
0.1447 0.5742 0.0000
0.1343 0.5754 0.0000
0.1240 0.5767 0.0000
0.1137 0.5780 0.0000
0.1033 0.5793 0.0000
0.0930 0.5805 0.0000
0.0827 0.5818 0.0000
0.0723 0.5831 0.0000
0.0620 0.5844 0.0000
0.0517 0.5856 0.0000
0.0413 0.5869 0.0000
0.0310 0.5882 0.0000
0.0207 0.5895 0.0000
0.0103 0.5907 0.0000
0.0000 0.5920 0.0000
0.0000 0.5914 0.0110
0.0000 0.5907 0.0219
0.0000 0.5901 0.0329
0.0000 0.5894 0.0438
0.0000 0.5888 0.0548
0.0000 0.5881 0.0658
0.0000 0.5875 0.0767
0.0000 0.5868 0.0877
0.0000 0.5862 0.0986
0.0000 0.5855 0.1096
0.0000 0.5849 0.1206
0.0000 0.5842 0.1315
0.0000 0.5836 0.1425
0.0000 0.5829 0.1535
0.0000 0.5823 0.1644
0.0000 0.5816 0.1754
0.0000 0.5810 0.1863
0.0000 0.5804 0.1973
0.0000 0.5797 0.2083
0.0000 0.5791 0.2192
0.0000 0.5784 0.2302
0.0000 0.5778 0.2411
0.0000 0.5771 0.2521
0.0000 0.5765 0.2631
0.0000 0.5758 0.2740
0.0000 0.5752 0.2850
0.0000 0.5745 0.2959
0.0000 0.5739 0.3069
0.0000 0.5732 0.3179
0.0000 0.5726 0.3288
0.0000 0.5719 0.3398
0.0000 0.5713 0.3507
0.0000 0.5706 0.3617
0.0000 0.5700 0.3727
0.0000 0.5694 0.3836
0.0000 0.5687 0.3946
0.0000 0.5681 0.4055
0.0000 0.5674 0.4165
0.0000 0.5668 0.4275
0.0000 0.5661 0.4384
0.0000 0.5655 0.4494
0.0000 0.5648 0.4604
0.0000 0.5642 0.4713
0.0000 0.5635 0.4823
0.0000 0.5629 0.4932
0.0000 0.5622 0.5042
0.0000 0.5616 0.5152
0.0000 0.5609 0.5261
0.0000 0.5603 0.5371
0.0000 0.5596 0.5480
0.0000 0.5590 0.5590
0.0062 0.5542 0.5675
0.0124 0.5495 0.5759
0.0186 0.5447 0.5844
0.0248 0.5399 0.5929
0.0310 0.5352 0.6014
0.0372 0.5304 0.6098
0.0434 0.5256 0.6183
0.0496 0.5209 0.6268
0.0558 0.5161 0.6352
0.0620 0.5114 0.6437
0.0682 0.5066 0.6522
0.0744 0.5018 0.6606
0.0805 0.4971 0.6691
0.0867 0.4923 0.6776
0.0929 0.4875 0.6861
0.0991 0.4828 0.6945
0.1053 0.4780 0.7030
0.1115 0.4732 0.7115
0.1177 0.4685 0.7199
0.1239 0.4637 0.7284
0.1301 0.4589 0.7369
0.1363 0.4542 0.7454
0.1425 0.4494 0.7538
0.1487 0.4446 0.7623
0.1549 0.4399 0.7708
0.1611 0.4351 0.7792
0.1673 0.4304 0.7877
0.1735 0.4256 0.7962
0.1797 0.4208 0.8046
0.1859 0.4161 0.8131
0.1921 0.4113 0.8216
0.1983 0.4065 0.8301
0.2045 0.4018 0.8385
0.2107 0.3970 0.8470
0.2169 0.3922 0.8555
0.2231 0.3875 0.8639
0.2293 0.3827 0.8724
0.2355 0.3779 0.8809
0.2416 0.3732 0.8894
0.2478 0.3684 0.8978
0.2540 0.3636 0.9063
0.2602 0.3589 0.9148
0.2664 0.3541 0.9232
0.2726 0.3494 0.9317
0.2788 0.3446 0.9402
0.2850 0.3398 0.9486
0.2912 0.3351 0.9571
0.2974 0.3303 0.9656
0.3036 0.3255 0.9741
0.3098 0.3208 0.9825
0.3160 0.3160 0.9910
0.3239 0.3098 0.9856
0.3318 0.3036 0.9803
0.3396 0.2974 0.9749
0.3475 0.2912 0.9696
0.3554 0.2850 0.9642
0.3633 0.2788 0.9589
0.3712 0.2726 0.9535
0.3791 0.2664 0.9482
0.3869 0.2602 0.9428
0.3948 0.2540 0.9375
0.4027 0.2478 0.9321
0.4106 0.2416 0.9268
0.4185 0.2355 0.9214
0.4264 0.2293 0.9161
0.4342 0.2231 0.9107
0.4421 0.2169 0.9054
0.4500 0.2107 0.9000
0.4579 0.2045 0.8946
0.4658 0.1983 0.8893
0.4736 0.1921 0.8839
0.4815 0.1859 0.8786
0.4894 0.1797 0.8732
0.4973 0.1735 0.8679
0.5052 0.1673 0.8625
0.5131 0.1611 0.8572
0.5209 0.1549 0.8518
0.5288 0.1487 0.8465
0.5367 0.1425 0.8411
0.5446 0.1363 0.8358
0.5525 0.1301 0.8304
0.5604 0.1239 0.8251
0.5682 0.1177 0.8197
0.5761 0.1115 0.8144
0.5840 0.1053 0.8090
0.5919 0.0991 0.8036
0.5998 0.0929 0.7983
0.6076 0.0867 0.7929
0.6155 0.0805 0.7876
0.6234 0.0744 0.7822
0.6313 0.0682 0.7769
0.6392 0.0620 0.7715
0.6471 0.0558 0.7662
0.6549 0.0496 0.7608
0.6628 0.0434 0.7555
0.6707 0.0372 0.7501
0.6786 0.0310 0.7448
0.6865 0.0248 0.7394
0.6944 0.0186 0.7341
0.7022 0.0124 0.7287
0.7101 0.0062 0.7234
0.7180 0.0000 0.7180

Go to Top of Page

Kathy_Wang

China
159 Posts

Posted - 11/05/2012 :  02:20:00 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I'm afraid there is not a straight forward way in Origin to create a palette, you have to use some Origin C codes for the transform. I tried to generate a .pal file for you and the result looks like the following image:



I could share the .pal file, or the Origin C code with you, please submit a general inquiry form to tech support following this link, so that I could reply you via email and attach those files.

In addition, please note that the R G B values need to be re-scaled to 0-255.

Kathy
Originlab

Edited by - Kathy_Wang on 11/05/2012 02:22:03 AM
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 01/31/2017 :  10:39:00 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Dear visitors to this thread:

Origin (2016 or later) now has "Color Editor" app to create a palette or a color list:
http://www.originlab.com/fileExchange/details.aspx?fid=317

Hope this helps many people, and please leave the feedback for the future improvements.

--Hideo Fujii
OriginLab
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