Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2690 > unrolled thread
| Started by | distributed.science@googlemail.com |
|---|---|
| First post | 2015-01-09 14:22 -0800 |
| Last post | 2015-01-12 06:15 -0800 |
| Articles | 6 — 3 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
postscript splot x/y/zlabel rotation and colours distributed.science@googlemail.com - 2015-01-09 14:22 -0800
Re: postscript splot x/y/zlabel rotation and colours distributed.science@googlemail.com - 2015-01-10 09:37 -0800
Re: postscript splot x/y/zlabel rotation and colours Ethan A Merritt <EAMerritt@gmail.com> - 2015-01-10 23:09 -0800
Re: postscript splot x/y/zlabel rotation and colours Gavin Buxton <gavinbuxton@gmail.com> - 2015-01-11 06:09 -0800
Re: postscript splot x/y/zlabel rotation and colours Gavin Buxton <gavinbuxton@gmail.com> - 2015-01-11 06:12 -0800
Re: postscript splot x/y/zlabel rotation and colours Gavin Buxton <gavinbuxton@gmail.com> - 2015-01-12 06:15 -0800
| From | distributed.science@googlemail.com |
|---|---|
| Date | 2015-01-09 14:22 -0800 |
| Subject | postscript splot x/y/zlabel rotation and colours |
| Message-ID | <9c2a1a5a-c65d-4311-89fe-956b34d50d29@googlegroups.com> |
Hi all, It's been two/three years since I last picked up GNUPLOT so I'm very rusty! I am trying to splot some 3D data. The default terminal on the Unix cluster changes colour according to the Z-value but when I change to a postscript terminal the Z-value is no longer being represented by a change in colour, rather the colour changes according to how close the splot z-value is to the 0,0 of the x and y dimension. Also I am not sure how I can rotate the labels along the axis, as the splot of 3D data puts the x and y axis on 45 degree angles. My shameful basic code is below. I would really appreciate any help. Many thanks Anthony set term postscript eps enhanced color linewidth 2 solid font 'Helvetica,20' set output "color.eps" set pm3d set xlabel "ASN - HIS (nm)" set ylabel "ASN - PRO (nm)" set zlabel "FES (kJ/mol)" set ticslevel 0.2 unset colorbox unset key set contour base set pm3d at bs splot 'FES_mouth.dat' with pm3d
[toc] | [next] | [standalone]
| From | distributed.science@googlemail.com |
|---|---|
| Date | 2015-01-10 09:37 -0800 |
| Message-ID | <905dd934-412f-4bf3-934c-b4316984f56b@googlegroups.com> |
| In reply to | #2690 |
I am further with one of the problems. Turns out that for some reasons, all my data points (which are between 0 and -300) are all coloured yellow (zero value) as displayed when I set the colorbox on. For some reason the z value is not actually mapping to the correct colour according to the colorbox. Any thoughts? Thanks On Friday, January 9, 2015 at 10:22:31 PM UTC, distribut...@googlemail.com wrote: > Hi all, > > It's been two/three years since I last picked up GNUPLOT so I'm very rusty! > > I am trying to splot some 3D data. The default terminal on the Unix cluster changes colour according to the Z-value but when I change to a postscript terminal the Z-value is no longer being represented by a change in colour, rather the colour changes according to how close the splot z-value is to the 0,0 of the x and y dimension. > > Also I am not sure how I can rotate the labels along the axis, as the splot of 3D data puts the x and y axis on 45 degree angles. My shameful basic code is below. I would really appreciate any help. > > Many thanks > Anthony > > > set term postscript eps enhanced color linewidth 2 solid font 'Helvetica,20' > set output "color.eps" > > set pm3d > > set xlabel "ASN - HIS (nm)" > set ylabel "ASN - PRO (nm)" > set zlabel "FES (kJ/mol)" > > set ticslevel 0.2 > unset colorbox > unset key > > set contour base > set pm3d at bs > splot 'FES_mouth.dat' with pm3d
[toc] | [prev] | [next] | [standalone]
| From | Ethan A Merritt <EAMerritt@gmail.com> |
|---|---|
| Date | 2015-01-10 23:09 -0800 |
| Message-ID | <m8t7ij$hcf$1@dont-email.me> |
| In reply to | #2691 |
distributed.science@googlemail.com wrote: > I am further with one of the problems. > > Turns out that for some reasons, all my data points (which are between > 0 and -300) are all coloured yellow (zero value) as displayed when I > set the colorbox on. For some reason the z value is not actually > mapping to the correct colour according to the colorbox. > > Any thoughts? Please tell us what version of gnuplot you are using and provide an example of the data. Since you have not given a "using" specifier, the data handling depends strongly on what is found in the first line[s] of the data file. You might also take a look at the online demos to see if one of them illustrates the type of plot you are trying to produce. Ethan > Thanks > > On Friday, January 9, 2015 at 10:22:31 PM UTC, > distribut...@googlemail.com wrote: >> Hi all, >> >> It's been two/three years since I last picked up GNUPLOT so I'm very >> rusty! >> >> I am trying to splot some 3D data. The default terminal on the Unix >> cluster changes colour according to the Z-value but when I change to >> a postscript terminal the Z-value is no longer being represented by a >> change in colour, rather the colour changes according to how close >> the splot z-value is to the 0,0 of the x and y dimension. >> >> Also I am not sure how I can rotate the labels along the axis, as the >> splot of 3D data puts the x and y axis on 45 degree angles. My >> shameful basic code is below. I would really appreciate any help. >> >> Many thanks >> Anthony >> >> >> set term postscript eps enhanced color linewidth 2 solid font >> 'Helvetica,20' set output "color.eps" >> >> set pm3d >> >> set xlabel "ASN - HIS (nm)" >> set ylabel "ASN - PRO (nm)" >> set zlabel "FES (kJ/mol)" >> >> set ticslevel 0.2 >> unset colorbox >> unset key >> >> set contour base >> set pm3d at bs >> splot 'FES_mouth.dat' with pm3d
[toc] | [prev] | [next] | [standalone]
| From | Gavin Buxton <gavinbuxton@gmail.com> |
|---|---|
| Date | 2015-01-11 06:09 -0800 |
| Message-ID | <04f893b4-6ee8-4a67-86a4-a22c9a487012@googlegroups.com> |
| In reply to | #2692 |
Try adding unset surf Although this usually makes it red not yellow?
[toc] | [prev] | [next] | [standalone]
| From | Gavin Buxton <gavinbuxton@gmail.com> |
|---|---|
| Date | 2015-01-11 06:12 -0800 |
| Message-ID | <a4e1aff6-8530-4261-bf8b-4868ae11eca1@googlegroups.com> |
| In reply to | #2692 |
Or you could try set caxis[*:*] if the yellow is because your range of colors is off.
[toc] | [prev] | [next] | [standalone]
| From | Gavin Buxton <gavinbuxton@gmail.com> |
|---|---|
| Date | 2015-01-12 06:15 -0800 |
| Message-ID | <6c720035-e409-4bfa-8c50-dbf2872d0712@googlegroups.com> |
| In reply to | #2694 |
On Sunday, January 11, 2015 at 9:12:04 AM UTC-5, Gavin Buxton wrote: > Or you could try set caxis[*:*] if the yellow is because your range of colors is off. ooops, meant set cbrange[*:*]
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web