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


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

Re: I want to show the count

From Jörg Buchholz <bookwood4new@freenet.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: I want to show the count
Date 2023-04-24 07:43 +0200
Organization A noiseless patient Spider
Message-ID <u254tc$7d0r$1@dont-email.me> (permalink)
References <d8c535fd-cabe-4cd8-92ab-8fa0a89c0666n@googlegroups.com> <u1jh14$321of$1@dont-email.me> <f5bec929-dba3-47de-a9c6-50f3e75643b1n@googlegroups.com>

Show all headers | View raw


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

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


Thread

I want to show the count Joey S <jos47117@gmail.com> - 2023-04-17 02:44 -0700
  Re: I want to show the count Jörg Buchholz <bookwood4new@freenet.de> - 2023-04-17 15:19 +0200
    Re: I want to show the count Joey S <jos47117@gmail.com> - 2023-04-20 23:08 -0700
    Re: I want to show the count Joey S <jos47117@gmail.com> - 2023-04-20 23:36 -0700
      Re: I want to show the count Jörg Buchholz <bookwood4new@freenet.de> - 2023-04-24 07:43 +0200

csiph-web