Path: csiph.com!news.mixmin.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?J=c3=b6rg_Buchholz?= Newsgroups: comp.graphics.apps.gnuplot Subject: Re: I want to show the count Date: Mon, 24 Apr 2023 07:43:13 +0200 Organization: A noiseless patient Spider Lines: 23 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 24 Apr 2023 05:43:08 -0000 (UTC) Injection-Info: dont-email.me; posting-host="30e02e1935208bf9e1472bcfb0e7679b"; logging-data="242715"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194X6IXRjhO5zQLnYQHiWI3PQdVG4EYEXA=" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Cancel-Lock: sha1:7kYMaNuFOtSqyYypkU/hic8t5nU= Content-Language: de-DE, en-GB In-Reply-To: Xref: csiph.com comp.graphics.apps.gnuplot:4520 On 21.04.2023 08:36, Joey S wrote: >> Jörg > This one works ! :) :) > plot "${1}" u 0:4:xtic(2) every ::0::30 with boxes notitle, '' u 0:4:3 every ::0::30 with labels offset 0,1 notitle > > Is it possible to format the counts to 00,0000 Field 4 plot "${1}" u 0:4:xtic(2) every ::0::30 with boxes notitle, '' u 0:4:(sprintf("%2.5f",$4)) with labels offset 0,1 notitle, '' u 0:4:3 with labels offset 0,2 notitle This is one line, the line break comes from the newsreader. plot "${1}" u 0:4:xtic(2) every ::0::30 with boxes notitle,\ '' u 0:4:(sprintf("%2.5f",$4)) with labels offset 0,1 notitle,\ '' u 0:4:3 with labels offset 0,2 notitle With ",\" you can do line breaks in the plot command. Jörg