Hello, I need to plot some information from C language and I have found PLplot. In GNU Octave and MatLab when I have a matrix of data representing an image I can plot it with the command 'imagesc()' and I can put a color scale in the plot with the command 'colorbar()'. Then I can export into a file via the 'print()' command. But now I need to do the same but from a C code. I have a C matrix (double** array) containing altitudes of points for a regular grid of x,y coordinates. Can I do the plot with PLplot and export the result as a *.png file? Can anyone show me any code for similar task? I have the data matrix (only one matrix, no red, blue, green components), but I want some coloured scale. Can I do that with PLplot? If PLplot can't do that, exists any C free software library to do?
Thanks -- ***************************************** José Luis García Pallero [email protected] (o< / / \ V_/_ Use Debian GNU/Linux and enjoy! ***************************************** ------------------------------------------------------------------------------ This SF Dev2Dev email is sponsored by: WikiLeaks The End of the Free Internet http://p.sf.net/sfu/therealnews-com _______________________________________________ Plplot-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-general
