From: José L. G. P. <jgp...@gm...> - 2010-12-08 16:57:50
|
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 jgp...@gm... (o< / / \ V_/_ Use Debian GNU/Linux and enjoy! ***************************************** |