Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Ethan A Merritt Newsgroups: comp.graphics.apps.gnuplot Subject: Re: postscript splot x/y/zlabel rotation and colours Date: Sat, 10 Jan 2015 23:09:32 -0800 Organization: A noiseless patient Spider Lines: 60 Message-ID: References: <9c2a1a5a-c65d-4311-89fe-956b34d50d29@googlegroups.com> <905dd934-412f-4bf3-934c-b4316984f56b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Sun, 11 Jan 2015 07:09:07 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="7bbfccb08e3cb0f92ebf95516f5f5a81"; logging-data="17807"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6cfSk1NfWX0ESdMgwWVsK" User-Agent: KNode/4.12.5 Cancel-Lock: sha1:YCwdOTrub80+jwABGfOM0yTJ41A= Xref: csiph.com comp.graphics.apps.gnuplot:2692 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