<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 817: palette documentation</title><link href="https://sourceforge.net/p/gnuplot/patches/817/" rel="alternate"/><link href="https://sourceforge.net/p/gnuplot/patches/817/feed.atom" rel="self"/><id>https://sourceforge.net/p/gnuplot/patches/817/</id><updated>2024-09-26T20:52:15.345000Z</updated><subtitle>Recent changes to 817: palette documentation</subtitle><entry><title>#817 palette documentation</title><link href="https://sourceforge.net/p/gnuplot/patches/817/?limit=25#4a34" rel="alternate"/><published>2024-09-26T20:52:15.345000Z</published><updated>2024-09-26T20:52:15.345000Z</updated><author><name>Ethan Merritt</name><uri>https://sourceforge.net/u/sfeam/</uri></author><id>https://sourceforge.netaa97238c104d48d5c792ca7c68823875b7f1d0af</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket moved from /p/gnuplot/support-requests/246/&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#246 palette documentation</title><link href="https://sourceforge.net/p/gnuplot/support-requests/246/?limit=25#91ca" rel="alternate"/><published>2020-01-31T17:15:37.322000Z</published><updated>2020-01-31T17:15:37.322000Z</updated><author><name>Adam Majewski</name><uri>https://sourceforge.net/u/adam_majewski/</uri></author><id>https://sourceforge.net08ecdd1a66a5993fc4b84da47d1cbb720b9606a5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="https://commons.wikimedia.org/wiki/File:0_3d_60_75_v.png" rel="nofollow"&gt;https://commons.wikimedia.org/wiki/File:0_3d_60_75_v.png&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#246 palette documentation</title><link href="https://sourceforge.net/p/gnuplot/support-requests/246/?limit=25#4e92" rel="alternate"/><published>2020-01-29T19:22:51.538000Z</published><updated>2020-01-29T19:22:51.538000Z</updated><author><name>Adam Majewski</name><uri>https://sourceforge.net/u/adam_majewski/</uri></author><id>https://sourceforge.net0851caeb223d56ae3c0a04cd5b0388e481084072</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Better files&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#246 palette documentation</title><link href="https://sourceforge.net/p/gnuplot/support-requests/246/?limit=25#e5c1" rel="alternate"/><published>2020-01-29T19:21:50.384000Z</published><updated>2020-01-29T19:21:50.384000Z</updated><author><name>Adam Majewski</name><uri>https://sourceforge.net/u/adam_majewski/</uri></author><id>https://sourceforge.net5bd0535e3fdff9c6503d0147a1f22cbe28a78bda</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have made hsv profile using finction from the gnuplot : &lt;br/&gt;
see also&lt;br/&gt;
&lt;a href="https://gitlab.com/adammajewski/color_gradient#rainbow-colormap-or-sawtooth-rainbow-or-hsv" rel="nofollow"&gt;https://gitlab.com/adammajewski/color_gradient#rainbow-colormap-or-sawtooth-rainbow-or-hsv&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#246 palette documentation</title><link href="https://sourceforge.net/p/gnuplot/support-requests/246/?limit=25#4325" rel="alternate"/><published>2020-01-26T18:11:36.206000Z</published><updated>2020-01-26T18:11:36.206000Z</updated><author><name>Adam Majewski</name><uri>https://sourceforge.net/u/adam_majewski/</uri></author><id>https://sourceforge.netfc443e09960706c9cc710fddcdc4d40a5d6b6db3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have made  demos fore reading gradient from the file&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#246 palette documentation</title><link href="https://sourceforge.net/p/gnuplot/support-requests/246/?limit=25#a37e" rel="alternate"/><published>2020-01-24T19:00:49.399000Z</published><updated>2020-01-24T19:00:49.399000Z</updated><author><name>Ethan Merritt</name><uri>https://sourceforge.net/u/sfeam/</uri></author><id>https://sourceforge.netf0f7b0b36299c4daf14bd8b015d5288cf3c0f9ae</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Your expertise probably is greater than mine.  I do not recognize those file types and I do not understand CIE colorspace well enough to add an example or to document it.  Perhaps you could contribute a demo file that shows how to trace a palette through this space?  We could include it in the demo collection and refer to it in the documentation.&lt;/p&gt;
&lt;p&gt;As to "set palette file", there is already a documentation section with examples.  How is "load" relevant here?  Any command that you can type interactively could also be executed by loading it from a script file.  "set palette" commands are no different from any other command in this regard.&lt;/p&gt;
&lt;p&gt;I added a link to the wikibooks page on the gnuplot web site.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#246 palette documentation</title><link href="https://sourceforge.net/p/gnuplot/support-requests/246/?limit=25#6d0d" rel="alternate"/><published>2020-01-17T19:10:43.395000Z</published><updated>2020-01-17T19:10:43.395000Z</updated><author><name>Adam Majewski</name><uri>https://sourceforge.net/u/adam_majewski/</uri></author><id>https://sourceforge.netdd32436a4b2b2f61558e26f6b90553379373eae3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thx for the answer&lt;br/&gt;
Is it possible to add example files:   &lt;em&gt;.pal , &lt;/em&gt;.map and *.gpf &lt;br/&gt;
to the gnuplot code ?&lt;br/&gt;
Then it would possible to make live/easy examples&lt;/p&gt;
&lt;p&gt;I would like to add section abot text file ( sorr not fully translated)&lt;br/&gt;
&lt;a href="https://en.wikibooks.org/wiki/Gnuplot/palette#Text_file" rel="nofollow"&gt;https://en.wikibooks.org/wiki/Gnuplot/palette#Text_file&lt;/a&gt;&lt;br/&gt;
and defined&lt;br/&gt;
&lt;a href="https://en.wikibooks.org/wiki/Gnuplot/palette#defined" rel="nofollow"&gt;https://en.wikibooks.org/wiki/Gnuplot/palette#defined&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Highlight  the difference ( in the file ) between using: &lt;br/&gt;
&lt;em&gt; load &lt;br/&gt;
&lt;/em&gt;  set palette file&lt;/p&gt;
&lt;p&gt;Thx&lt;/p&gt;
&lt;p&gt;Adam&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#246 palette documentation</title><link href="https://sourceforge.net/p/gnuplot/support-requests/246/?limit=25#9fa5" rel="alternate"/><published>2020-01-11T21:16:19.583000Z</published><updated>2020-01-11T21:16:19.583000Z</updated><author><name>Ethan Merritt</name><uri>https://sourceforge.net/u/sfeam/</uri></author><id>https://sourceforge.neta2cca23013ae76307656cd1584514099dd47556c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I would be happy to add a link  &lt;a href="https://pl.wikibooks.org/wiki/Gnuplot" rel="nofollow"&gt;https://pl.wikibooks.org/wiki/Gnuplot&lt;/a&gt; on the gnuplot home page section "Localized learning pages".   &lt;/p&gt;
&lt;p&gt;I can only judge the content via Google translate. It looks fine overall. I have one suggestion: since the section on gamma correction immediately follows the section on the cubehelix palette, you could mention or even show an example that the cubehelix palette can be modified by gamma.  E.g.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;     &lt;span class="k"&gt;set&lt;/span&gt; &lt;span class="n"&gt;palette&lt;/span&gt; &lt;span class="n"&gt;cubehelix&lt;/span&gt; &lt;span class="n"&gt;gamma&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Is there a particular block of text you want to add to the "help" section?&lt;/p&gt;
&lt;p&gt;You may be interested to know there is a development branch that adds a new set of palette coloring features.  The active palette can be saved to a colormap array with the command&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;     &lt;span class="k"&gt;set&lt;/span&gt; &lt;span class="n"&gt;palette&lt;/span&gt; &lt;span class="n"&gt;save&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;colormap&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;You can define and save multiple palettes this way.  Subsequent plots can be colored by referring to a saved palette by name.  Here is an example:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;set&lt;/span&gt; &lt;span class="n"&gt;palette&lt;/span&gt; &lt;span class="k"&gt;defined&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="ss"&gt;"dark-red"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="ss"&gt;"white"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;set&lt;/span&gt; &lt;span class="n"&gt;palette&lt;/span&gt; &lt;span class="n"&gt;save&lt;/span&gt; &lt;span class="n"&gt;reds&lt;/span&gt;
&lt;span class="k"&gt;set&lt;/span&gt; &lt;span class="n"&gt;palette&lt;/span&gt; &lt;span class="k"&gt;defined&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;  &lt;span class="ss"&gt;"greenyellow"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="ss"&gt;"dark-green"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;set&lt;/span&gt; &lt;span class="n"&gt;palette&lt;/span&gt; &lt;span class="n"&gt;save&lt;/span&gt; &lt;span class="n"&gt;greens&lt;/span&gt;
&lt;span class="n"&gt;splot&lt;/span&gt; &lt;span class="n"&gt;func1&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;pm3d&lt;/span&gt; &lt;span class="n"&gt;fc&lt;/span&gt; &lt;span class="n"&gt;palette&lt;/span&gt; &lt;span class="n"&gt;reds&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;func2&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;pm3d&lt;/span&gt; &lt;span class="n"&gt;fc&lt;/span&gt; &lt;span class="n"&gt;palettes&lt;/span&gt; &lt;span class="n"&gt;greens&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I expect to merge this into the main develoment branch soon.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>palette documentation</title><link href="https://sourceforge.net/p/gnuplot/support-requests/246/" rel="alternate"/><published>2020-01-11T11:23:29.850000Z</published><updated>2020-01-11T11:23:29.850000Z</updated><author><name>Adam Majewski</name><uri>https://sourceforge.net/u/adam_majewski/</uri></author><id>https://sourceforge.netfa819dcadac38be0eafdfc263e9e73c04bb9ed04</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;br/&gt;
I have created a extended documentation about gnuplot palette ( color gradient):&lt;br/&gt;
&lt;a href="https://pl.wikibooks.org/wiki/Gnuplot#Gradient_koloru" rel="nofollow"&gt;https://pl.wikibooks.org/wiki/Gnuplot#Gradient_koloru&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It is in polish now, but it can be easly translated to english  ( draft version by Google tranlate)&lt;/p&gt;
&lt;p&gt;What do you think about it ?&lt;br/&gt;
What do you think about expanding "help set palette" ?&lt;/p&gt;
&lt;p&gt;Adam&lt;br/&gt;
&lt;a href="https://gitlab.com/adammajewski/color_gradient" rel="nofollow"&gt;https://gitlab.com/adammajewski/color_gradient&lt;/a&gt;&lt;br/&gt;
&lt;a href="https://commons.wikimedia.org/w/index.php?title=Special:ListFiles/Adam_majewski&amp;amp;ilshowall=1" rel="nofollow"&gt;https://commons.wikimedia.org/w/index.php?title=Special:ListFiles/Adam_majewski&amp;amp;ilshowall=1&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>