Hello every one!!!
Can you give me an idea of how to make a program that can read files and achieve assign a color to each value in gnuplot?
I want to do something like this: http://www.nrao.edu/index.php/learn/radioastronomy/makeradioimage with my data file.
My data file, example:
1hour 2hour 3hour 4hour………………………. 24 hour 3.10 2.33 1.55 3.22 8.66 4.40 4.55 1.22 4.66 1.54 4.60 6.21 4.12 6.30 2.45 5.70 2.55 1.22 0.55 1.45 6.60 0.22 1.20 3.32 1.45 8.60 0.25 4.65 4.55 7.55 2.60 4.62 1.24 4.65 8.25
And through gnuplot i want to make an image, assigning a color to each value.
Regards
Rolando Paz Guatemala
If you stick a comment marker (#) in front of that first line, you can plot your file using
gnuplot> set view map gnuplot> splot 'radio.dat' matrix with image
Log in to post a comment.
Hello every one!!!
Can you give me an idea of how to make a program that can read files and achieve assign a color to each value in gnuplot?
I want to do something like this: http://www.nrao.edu/index.php/learn/radioastronomy/makeradioimage with my data file.
My data file, example:
1hour 2hour 3hour 4hour………………………. 24 hour
3.10 2.33 1.55 3.22 8.66
4.40 4.55 1.22 4.66 1.54
4.60 6.21 4.12 6.30 2.45
5.70 2.55 1.22 0.55 1.45
6.60 0.22 1.20 3.32 1.45
8.60 0.25 4.65 4.55 7.55
2.60 4.62 1.24 4.65 8.25
And through gnuplot i want to make an image, assigning a color to each value.
Regards
Rolando Paz
Guatemala
If you stick a comment marker (#) in front of that first line,
you can plot your file using
gnuplot> set view map
gnuplot> splot 'radio.dat' matrix with image