Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

The most important early product on the way to developing a good product is an imperfect version.


computers / comp.graphics.apps.gnuplot / Can I increase the line width in the legend?

SubjectAuthor
* Can I increase the line width in the legend?Jean-Pierre Coulon
`* Re: Can I increase the line width in the legend?Jörg_Buchholz
 `* Re: Can I increase the line width in the legend?Jean-Pierre Coulon
  +- Re: Can I increase the line width in the legend?Karl Ratzsch
  `* Re: Can I increase the line width in the legend?Jörg_Buchholz
   `- Re: Can I increase the line width in the legend?Jean-Pierre Coulon

1
Subject: Can I increase the line width in the legend?
From: Jean-Pierre Coulon
Newsgroups: comp.graphics.apps.gnuplot
Organization: Aioe.org NNTP Server
Date: Thu, 14 May 2020 08:56 UTC
Path: i2pn2.org!i2pn.org!aioe.org!.POSTED.lMtJYWGw6xFxusffZtrY5Q.user.gioia.aioe.org!not-for-mail
From: cou...@cacas.pam.obs-nice.fr (Jean-Pierre Coulon)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Can I increase the line width in the legend?
Date: Thu, 14 May 2020 10:56:32 +0200
Organization: Aioe.org NNTP Server
Lines: 6
Message-ID: <alpine.WNT.2.21.9999.2005141051400.956@BecaneCoulon>
NNTP-Posting-Host: lMtJYWGw6xFxusffZtrY5Q.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
X-Complaints-To: abuse@aioe.org
User-Agent: Alpine 2.21.9999 (WNT 298 2018-07-10)
X-Notice: Filtered by postfilter v. 0.9.2
View all headers
I want to plot "something.txt" w l title "mything" with the usual line width but can I increase the width of the sample portion of lines that follows the titles?

--
Jean-Pierre Coulon


Subject: Re: Can I increase the line width in the legend?
From: Jörg_Buchholz
Newsgroups: comp.graphics.apps.gnuplot
Organization: A noiseless patient Spider
Date: Thu, 14 May 2020 10:39 UTC
References: 1
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bookwood...@freenet.de (Jörg_Buchholz)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: Can I increase the line width in the legend?
Date: Thu, 14 May 2020 12:39:57 +0200
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <r9j75q$k0v$1@dont-email.me>
References: <alpine.WNT.2.21.9999.2005141051400.956@BecaneCoulon>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 14 May 2020 10:39:54 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a6d72251aca04af17ef7297e91148bfc";
logging-data="20511"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NA0HZkqUl0b8Au0spLTP+QL49LocU3MQ="
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.8.0
Cancel-Lock: sha1:XSFLQ+aHD+OEMTyXZY9FAdW9T3o=
In-Reply-To: <alpine.WNT.2.21.9999.2005141051400.956@BecaneCoulon>
Content-Language: en-GB
View all headers
On 14.05.2020 10:56, Jean-Pierre Coulon wrote:
I want to plot "something.txt" w l title "mything" with the usual line
width but can I increase the width of the sample portion of lines that
follows the titles?


As a workaround you can use a "keyentry".


plot sin(x) w l lt 1 t '',keyentry w l lw 4 lt 1 t 'sin(x)'


Jörg


Subject: Re: Can I increase the line width in the legend?
From: Jean-Pierre Coulon
Newsgroups: comp.graphics.apps.gnuplot
Organization: Aioe.org NNTP Server
Date: Thu, 14 May 2020 11:38 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!aioe.org!.POSTED.lMtJYWGw6xFxusffZtrY5Q.user.gioia.aioe.org!not-for-mail
From: cou...@cacas.pam.obs-nice.fr (Jean-Pierre Coulon)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: Can I increase the line width in the legend?
Date: Thu, 14 May 2020 13:38:51 +0200
Organization: Aioe.org NNTP Server
Lines: 16
Message-ID: <alpine.WNT.2.21.9999.2005141337380.956@BecaneCoulon>
References: <alpine.WNT.2.21.9999.2005141051400.956@BecaneCoulon> <r9j75q$k0v$1@dont-email.me>
NNTP-Posting-Host: lMtJYWGw6xFxusffZtrY5Q.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8BIT
X-Complaints-To: abuse@aioe.org
User-Agent: Alpine 2.21.9999 (WNT 298 2018-07-10)
X-Notice: Filtered by postfilter v. 0.9.2
View all headers
On Thu, 14 May 2020, Jörg Buchholz wrote:

As a workaround you can use a "keyentry".

plot sin(x) w l lt 1 t '',keyentry w l lw 4 lt 1 t 'sin(x)'

I have:

plot 'demo.txt' w l title "example",\
'demo.txt'  using 1:(2*$2) w l title "modif", keyentry w l lw 4 lt 1 title "double

but it says: line5: undefined variable: keyentry

--
Jean-Pierre Coulon


Subject: Re: Can I increase the line width in the legend?
From: Karl Ratzsch
Newsgroups: comp.graphics.apps.gnuplot
Organization: solani.org
Date: Thu, 14 May 2020 19:15 UTC
References: 1 2 3
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: mail....@gmx.net (Karl Ratzsch)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: Can I increase the line width in the legend?
Date: Thu, 14 May 2020 21:15:14 +0200
Organization: solani.org
Message-ID: <r9k5bv$fpt$1@solani.org>
References: <alpine.WNT.2.21.9999.2005141051400.956@BecaneCoulon>
<r9j75q$k0v$1@dont-email.me>
<alpine.WNT.2.21.9999.2005141337380.956@BecaneCoulon>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 14 May 2020 19:15:11 -0000 (UTC)
Injection-Info: solani.org;
logging-data="16189"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.8.0
In-Reply-To: <alpine.WNT.2.21.9999.2005141337380.956@BecaneCoulon>
X-User-ID: eJwVwoENACEIA8CVILTIj6NU9h/BfO4Y6dkLyQTnp8JsRB9iX7l8GDY34YJqz5LJws7XUewHMn4RuA==
Cancel-Lock: sha1:tvmmBgdaaqrTRnfh5O284JUKsfg=
Content-Language: de-DE
View all headers
Am 14.05.2020 um 13:38 schrieb Jean-Pierre Coulon:
On Thu, 14 May 2020, Jörg Buchholz wrote:

As a workaround you can use a "keyentry".

plot sin(x) w l lt 1 t '',keyentry w l lw 4 lt 1 t 'sin(x)'

I have:

plot 'demo.txt' w l title "example",\
'demo.txt'  using 1:(2*$2) w l title "modif", keyentry w l lw 4 lt 1
title "double

but it says: line5: undefined variable: keyentry


"keyentry" is a new thing in gp5.4 (a second release candidate will
likely be out in a few days). It produces an entry in the legend
without plotting anything.


Subject: Re: Can I increase the line width in the legend?
From: Jörg_Buchholz
Newsgroups: comp.graphics.apps.gnuplot
Organization: A noiseless patient Spider
Date: Fri, 15 May 2020 06:07 UTC
References: 1 2 3
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bookwood...@freenet.de (Jörg_Buchholz)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: Can I increase the line width in the legend?
Date: Fri, 15 May 2020 08:07:03 +0200
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <r9lbi7$sj2$1@dont-email.me>
References: <alpine.WNT.2.21.9999.2005141051400.956@BecaneCoulon>
<r9j75q$k0v$1@dont-email.me>
<alpine.WNT.2.21.9999.2005141337380.956@BecaneCoulon>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 15 May 2020 06:07:03 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="fa98db2b48bdf0c6c565865aac1370bf";
logging-data="29282"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+l0Nmkm9qRqUoS1MYZDa7LRtHbfjGL8NU="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.8.0
Cancel-Lock: sha1:86FPKEa1PwbyWnyc63Cf/dUzNc4=
In-Reply-To: <alpine.WNT.2.21.9999.2005141337380.956@BecaneCoulon>
Content-Language: en-GB
View all headers
On 14/05/2020 13:38, Jean-Pierre Coulon wrote:
On Thu, 14 May 2020, Jörg Buchholz wrote:

As a workaround you can use a "keyentry".

plot sin(x) w l lt 1 t '',keyentry w l lw 4 lt 1 t 'sin(x)'

I have:

plot 'demo.txt' w l title "example",\
'demo.txt'  using 1:(2*$2) w l title "modif", keyentry w l lw 4 lt 1
title "double

but it says: line5: undefined variable: keyentry

You can do the same with plotting something out of the yrange.

set yrange [0:10]
plot sin(x) w l lt 1 t'',-1 w l lt 1 lw 4 t 'sin(x)'

tested with Version 5.2 patchlevel 6

Jörg


Subject: Re: Can I increase the line width in the legend?
From: Jean-Pierre Coulon
Newsgroups: comp.graphics.apps.gnuplot
Organization: Aioe.org NNTP Server
Date: Fri, 15 May 2020 14:58 UTC
References: 1 2 3 4
Path: i2pn2.org!i2pn.org!aioe.org!.POSTED.lMtJYWGw6xFxusffZtrY5Q.user.gioia.aioe.org!not-for-mail
From: cou...@cacas.pam.obs-nice.fr (Jean-Pierre Coulon)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: Can I increase the line width in the legend?
Date: Fri, 15 May 2020 16:58:10 +0200
Organization: Aioe.org NNTP Server
Lines: 12
Message-ID: <alpine.WNT.2.21.9999.2005151655300.1736@BecaneCoulon>
References: <alpine.WNT.2.21.9999.2005141051400.956@BecaneCoulon> <r9j75q$k0v$1@dont-email.me> <alpine.WNT.2.21.9999.2005141337380.956@BecaneCoulon> <r9lbi7$sj2$1@dont-email.me>
NNTP-Posting-Host: lMtJYWGw6xFxusffZtrY5Q.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8BIT
X-Complaints-To: abuse@aioe.org
User-Agent: Alpine 2.21.9999 (WNT 298 2018-07-10)
X-Notice: Filtered by postfilter v. 0.9.2
View all headers
On Fri, 15 May 2020, Jörg Buchholz wrote:

You can do the same with plotting something out of the yrange.

set yrange [0:10]
plot sin(x) w l lt 1 t'',-1 w l lt 1 lw 4 t 'sin(x)'

Works. It is nice that title '' provides no line skip between the useful lines with a title when I plot several data arrays or functions. Thanks.

--
Jean-Pierre Coulon


1
rocksolid light 0.7.2
clearneti2ptor