Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Olaf Schultz Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Many digits Date: Thu, 2 Jan 2025 17:07:05 +0100 Lines: 37 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 40LodfQ0mDSTs4LWMQ6ZLgCO3NOTipMzC+c+bR8o/QkWeehL94 Cancel-Lock: sha1:7GEA5rrwhVVSnFnIIVPagJ+4t9Y= sha256:mWb4tZINNnavW4jVDHPEkbnA3Rc0qR13yh58iMz7JfE= User-Agent: Mozilla Thunderbird Beta Content-Language: de-DE In-Reply-To: Xref: csiph.com comp.graphics.apps.gnuplot:4681 Am 02.01.25 um 16:21 schrieb db: > I am using this gnuplot script: > > gnuplot << eoi > set term postscript enh eps 24 > set output 'concs.eps' > set nokey > set xlabel 'X' > set ylabel 'C' > set ytics 0, 0.5, 1 > set xtics 0, 1, 6 > plot 'concs.dat' w l lt 1 > quit > eoi > > If I don't specify tic marks, I get, e.g, for Y, 0.0, 0.1, .2, ... 1.0 > and for X 0, 1, 2, ...6. I don't want so many, so I put in the tic > mark specs, and now I get for Y, 0.000000, 0.500000 and 1.000000, and for > X 0.00000, 1.00000 etc. > I know I can specify the number format but I never got this before. > I have G N U P L O T > Version 5.4 patchlevel 2 last modified 2021-06-01 > > so it is not an update. I must be causing this - but how? > hm, have you tried sommething like: set format x ".1f" What I also like: set format x "%d.%m.\n%Y" ;-) Healthy new year, Olaf