|
From: Thomas S. <t.s...@fz...> - 2010-01-30 15:19:12
|
gnuplot uses the z-value as gray-value and then converts the gray-value into a color by using a palette. have a look at http://www.gnuplot.info/docs/node215.html or get the gnuplot source code and figure out how the color mapping is done. WEI Dong-2 wrote: > > Hello, > > I want to plot some data in my own program, just like using the "set pm3d > map" statement in gnuplot. > But I find that it is very complicated to transfer from a double value to > a RGB triple. > It is not linear, and not symmetrical among R, G and B. > > Could you tell me the formula? > > Thank you very much! > > WEI Dong > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/How-to-plot-HeatMap-by-ourselves--tp27383445p27384586.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |