I am plotting several heatmaps using Gnuplot. However, I am not not using group plot in Gnuplot as I have decided to do this better in Latex with individual heatmaps obtained. What I need now from Gnuplot is a plot/figure with only colorbox (nothing but colorbox). Is there any way to do it in Gnuplot?
-
So you want to plot N heat map without colorbox and one colorbox (without heat map)?Tom Solid– Tom Solid2016-06-11 09:10:04 +00:00Commented Jun 11, 2016 at 9:10
-
@TomSolid: exactlyRhinocerotidae– Rhinocerotidae2016-06-11 09:10:59 +00:00Commented Jun 11, 2016 at 9:10
-
Take a look at these examples (gnuplot.sourceforge.net/demo/pm3dcolors.html) of defining palette. Sure, you have to know the absolute minima and maxima of the heatmaps.Tom Solid– Tom Solid2016-06-11 09:13:47 +00:00Commented Jun 11, 2016 at 9:13
Add a comment
|
1 Answer
Eg. if your heatmaps are from 5-12:
unset key
set view map
set style data pm3d
set style function pm3d
set xtics norangelimit 1
unset ytics
unset ztics
set title "Colorbox for heatmaps"
set xrange [ 5.0000 : 12.0000 ] noreverse nowriteback
unset colorbox
splot (x-5)/(12-5)
OR if you want it to be vertical:
set size ratio 3
unset key
set view map
set style data pm3d
set style function pm3d
unset xtics
set ytics norangelimit 1
unset ztics
set title "Colorbox for heatmaps"
set yrange [ 5.0000 : 12.0000 ] noreverse nowriteback
unset colorbox
splot (y-5)/(12-5)

