Hello,

As of v10119 you can now specify the color table to use for color table 
0 or color table 1 as a command line argument to PLplot. For example:

./x01c -cmap0 /path/to/cmap0a.pal -dev xcairo

Will load the cmap0a.pal file and use the information in that file to 
initialize PLplot's color table 0 prior to plotting. Similarly:

./x01c -cmap1 /path/to/cmap1a.pal -dev xcairo

Will load the cmap1a.pal file and use the information in that file to 
initialize PLplot's color table 1 prior to plotting.

As part of this effort the PLplot API has two new additions:
plspal0(filename) - Set the color table 0 palette based on the cmap0.pal 
format file specified by filename.
plspal1(filename) - Set the color table 1 palette based on the cmap1.pal 
format file specified by filename.

Example .pal format files can be found in plplot-source/bindings/tk. 
Hopefully this addition will make it easier for people to use their 
preferred color scheme.

-Hazen


------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to