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


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

Re: 3D plot

From au76666 <britz@chem.au.dk>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: 3D plot
Date 2019-11-01 10:36 +0000
Organization A noiseless patient Spider
Message-ID <qph1s1$mnj$2@dont-email.me> (permalink)
References <qp90sa$svb$1@dont-email.me> <qpedai$2he$1@dont-email.me> <qpemhe$pv8$1@dont-email.me> <qper0n$kqo$1@dont-email.me>

Show all headers | View raw


On Thu, 31 Oct 2019 14:27:34 +0000, Chris Elvidge wrote:

> On 31/10/2019 13:11, au76666 wrote:
>> On Thu, 31 Oct 2019 10:33:54 +0000, au76666 wrote:
>> 
>>> On Tue, 29 Oct 2019 09:30:50 +0000, Dieter Britz wrote:
>>>
>>>> I have this script:
>>>>
>>>> gnuplot << eoi set term postscript enh eps 24 set output 'CDL1.eps'
>>>> set title 'CD, L = 1'
>>>> set xrange [0:1.0]
>>>> set yrange [0:1.0]
>>>> set xtics 0, 0.5, 1 set ytics 0, 0.5, 1 set xlabel "X"
>>>> set ylabel "Y"
>>>> set zlabel "cd"
>>>> unset key splot 'data/CDsL1.dat' w l lt 1 quit eoi
>>>>
>>>> The result is here: http://dieterbritz.dk/CDL1.pdf
>>>>
>>>> 1. How do I move the x-axis labels (0, 0.5, 1) a bit
>>>>    lower down so that the 0.5 doesn't hit the base line?
>>>> 2. How do I lower the plot so that the zero level is right
>>>>    at the bottom?
>>>> 3 The orientation is not bad as is, but I tried to play with
>>>>    the angle of view, e.g. using splot 'data/CDsL1.dat' w l lt 1
>>>>    rotate=pi and there was an error with rotate. How is that done?
>>>
>>> I found out how to lower the whole plot. But that, as you can see now
>>> (same link) wiped out the zero axis marker for Z. Why is this?
>>> And I still want to know how to shift the X-axis numbers so that they
>>> don't touch the grid line.
>> 
>> Forget it, I have worked around it.
>> 
>> 
>> 
> Please tell ......

I hate to admit my clumsy solution, but I asked for no xtics and placed
the numbers "manually" with label ".." at ... Actually this had the
advantage that it fixed the zero mark at the origin, so that it now
refers to both X and Z axes, whereas before, gnuplot left out the zero
for the Z axis, even though I specified 0, 10, 20 for that. So it's not
totally crazy, I think. It did eliminate the tic mark at X = 0.5, but
the plot is so dense there that I don't think that will be noticed.

I'm not complaining, but I did all this because there seemed to be no
response to my question for days. I understand that you are all busy.

-- 
Dieter Britz

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


Thread

3D plot Dieter Britz <dieterhansbritz@gmail.com> - 2019-10-29 09:30 +0000
  Re: 3D plot au76666 <britz@chem.au.dk> - 2019-10-31 10:33 +0000
    Re: 3D plot au76666 <britz@chem.au.dk> - 2019-10-31 13:11 +0000
      Re: 3D plot Chris Elvidge <chris@mshome.net> - 2019-10-31 14:27 +0000
        Re: 3D plot Jörg Buchholz <bookwood4new@freenet.de> - 2019-11-01 08:20 +0100
          Re: 3D plot au76666 <britz@chem.au.dk> - 2019-11-01 10:29 +0000
            Re: 3D plot Jörg Buchholz <bookwood4new@freenet.de> - 2019-11-01 14:33 +0100
              Re: 3D plot au76666 <britz@chem.au.dk> - 2019-11-01 14:11 +0000
                Re: 3D plot Jörg Buchholz <bookwood4new@freenet.de> - 2019-11-01 16:50 +0100
        Re: 3D plot au76666 <britz@chem.au.dk> - 2019-11-01 10:36 +0000

csiph-web