Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #2692

Re: postscript splot x/y/zlabel rotation and colours

From Ethan A Merritt <EAMerritt@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: postscript splot x/y/zlabel rotation and colours
Date 2015-01-10 23:09 -0800
Organization A noiseless patient Spider
Message-ID <m8t7ij$hcf$1@dont-email.me> (permalink)
References <9c2a1a5a-c65d-4311-89fe-956b34d50d29@googlegroups.com> <905dd934-412f-4bf3-934c-b4316984f56b@googlegroups.com>

Show all headers | View raw


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

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web