How to use various color palettes in Gnuplot_Class #509
Replies: 2 comments
-
Gnuplot-palettes is a excellent repository which collects many color palettes for gnuplot. It is recommended that you download all files or your favorite Next, it is better to copy or to make a symlink of the palette file in the directory where your fortran program exists. And then, you can add the following TYPE(GnuPlot_) :: plt
CALL plt%options("load 'colorPaletteName.pal'") And you should remove the ! wrong
CALL plt%contour(x=x, y=y, z=z, lspec="with lines",paletteName="jet", fill=.TRUE.)
! correct
CALL plt%contour(x=x, y=y, z=z, lspec="with lines", fill=.TRUE.) Finally you can get a figure plotted with beautiful colors. |
Beta Was this translation helpful? Give feedback.
-
I can recommend the Scientific colour maps. |
Beta Was this translation helpful? Give feedback.
-
In Gnuplot_Class of easifem, some color palettes are defined but not so many.
How to use other color palettes?
I explain this here with referencing other repositories for color palettes.
Beta Was this translation helpful? Give feedback.
All reactions