Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3994
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Jörg Buchholz <bookwood4new@freenet.de> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | space between sign and digit |
| Date | Wed, 11 Jul 2018 08:52:11 +0200 |
| Organization | A noiseless patient Spider |
| Lines | 15 |
| Message-ID | <pi49eq$a7$1@dont-email.me> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Wed, 11 Jul 2018 06:52:10 -0000 (UTC) |
| Injection-Info | reader02.eternal-september.org; posting-host="dc26474d1c6b47379bccbe64355446fa"; logging-data="327"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/exoLaA5i5MfTc8AQ5hGSZKo3rcq8mOQ8=" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
| Cancel-Lock | sha1:/Jce9hUxK9omkwNsJi/30BoQJ0s= |
| Content-Language | en-GB |
| X-Mozilla-News-Host | news://news.eternal-september.org:119 |
| Xref | csiph.com comp.graphics.apps.gnuplot:3994 |
Show key headers only | View raw
Hello,
I would like to print a function in the key like this:
f11(x) = -2.56·x - 103.63
I use the following code in the plot command for that:
f11(x) lt 2 lw 4 dt 4 t sprintf("f11(x) =%6.2f·x%+7.2f",a,b11)
That means, that I use the sign from the format specifier as plus sign
or minus sing in the printed function. But than I don't have a space in
front of the second number. The second number can be positive or negative.
Jörg
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
space between sign and digit Jörg Buchholz <bookwood4new@freenet.de> - 2018-07-11 08:52 +0200
Re: space between sign and digit Karl Ratzsch <mail.kfr@gmx.net> - 2018-07-11 10:00 +0200
Re: space between sign and digit Jörg Buchholz <bookwood4new@freenet.de> - 2018-07-11 14:16 +0200
Re: space between sign and digit Karl Ratzsch <mail.kfr@gmx.net> - 2018-07-11 15:16 +0200
Re: space between sign and digit Jörg Buchholz <bookwood4new@freenet.de> - 2018-07-12 07:36 +0200
Re: space between sign and digit Karl Ratzsch <mail.kfr@gmx.net> - 2018-07-12 20:42 +0200
Re: space between sign and digit Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2018-07-11 20:06 +0200
Re: space between sign and digit Karl Ratzsch <mail.kfr@gmx.net> - 2018-07-12 06:53 +0200
Re: space between sign and digit Jörg Buchholz <bookwood4new@freenet.de> - 2018-07-12 07:21 +0200
csiph-web