Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2546
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2014-08-04 11:57 -0700 |
| Message-ID | <c7802d29-43aa-43b4-b41f-78f68f4874d6@googlegroups.com> (permalink) |
| Subject | Problem plotting matrix with image |
| From | spy_c@hotmail.com |
Hi, i'm trying to plot a file into a 2D image. The file is setup in a 43X43 matrix that has to stay in that format. It's plotting the image but, i want to change a specific value from my matrix to plot a specific color instead of following the color palette that i have setup. This currently is my code and i'm not sure how to specify a color outside of the color palette for a given value in the data file. set terminal postscript landscape color enhanced colortext font 'Palatino-Roman, 16' unset title set border linewidth 0 unset xtics unset ytics unset key set colorbox set cbrange[-8.30470026E-02: 1.23593502E-01] set palette defined (0.0 '#000090',\ 12.5 '#000fff',\ 25.0 '#0090ff',\ 37.5 '#0fffee',\ 50.0 '#90ff70',\ 62.5 '#ffee00',\ 75.0 '#ff7000',\ 87.5 '#ee0000',\ 100 '#7f0000',\ 102 'white') set output '6.ps' set size ratio 0.71667 set xrange [-0.5: 59.5] set yrange [-0.5: 42.5] plot '6.dat' matrix with image
Back to comp.graphics.apps.gnuplot | Previous | Next | Find similar | Unroll thread
Problem plotting matrix with image spy_c@hotmail.com - 2014-08-04 11:57 -0700
csiph-web