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


Groups > comp.graphics.apps.gnuplot > #4440 > unrolled thread

how to print the line title

Started bychao zhou <zc970710@gmail.com>
First post2021-11-16 00:11 -0800
Last post2021-11-22 07:10 +0100
Articles 5 — 4 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  how to print the line title chao zhou <zc970710@gmail.com> - 2021-11-16 00:11 -0800
    Re: how to print the line title Buzz McCool <buzz_mccool@yahoo.com> - 2021-11-18 08:09 -0800
      Re: how to print the line title chao zhou <zc970710@gmail.com> - 2021-11-20 23:59 -0800
        Re: how to print the line title Dr Engelbert Buxbaum <engelbert_buxbaum@hotmail.com> - 2021-11-21 16:08 +0100
        Re: how to print the line title Jörg Buchholz <bookwood4new@freenet.de> - 2021-11-22 07:10 +0100

#4440 — how to print the line title

Fromchao zhou <zc970710@gmail.com>
Date2021-11-16 00:11 -0800
Subjecthow to print the line title
Message-ID<937e6fa1-092c-444a-87f6-aa57e75eb312n@googlegroups.com>
when i set out the png, the line title "xx" can not show, what is the problem?

[toc] | [next] | [standalone]


#4441

FromBuzz McCool <buzz_mccool@yahoo.com>
Date2021-11-18 08:09 -0800
Message-ID<sn5trn$ohe$1@gioia.aioe.org>
In reply to#4440
On 11/16/2021 12:11 AM, chao zhou wrote:
> when i set out the png, the line title "xx" can not show, what is the problem?

Can you provide more details?

Perhaps you can include some example code demonstrating the problem?

	Buzz

[toc] | [prev] | [next] | [standalone]


#4442

Fromchao zhou <zc970710@gmail.com>
Date2021-11-20 23:59 -0800
Message-ID<67c7765f-5502-4bce-a917-23b135c5e0acn@googlegroups.com>
In reply to#4441
在 2021年11月19日星期五 UTC+8 上午12:09:31,<Buzz McCool> 写道:
> On 11/16/2021 12:11 AM, chao zhou wrote: 
> > when i set out the png, the line title "xx" can not show, what is the problem?
> Can you provide more details? 
> 
> Perhaps you can include some example code demonstrating the problem? 
> 
> Buzz
# setup terminal
set term pngcairo lw 2 font "Times,14"
set output 'band.png'

set style data dots
set nokey
set xrange [0: 6.365]
set yrange [ -12 : 15]
set arrow from  0.762,  -12 to  0.762,  15 nohead
set arrow from  1.417,  -12 to  1.417,  15 nohead
set arrow from  2.073,  -12 to  2.073,  15 nohead
set arrow from  2.826,  -12 to  2.826,  15 nohead
set arrow from  4.137,  -12 to  4.137,  15 nohead
set arrow from  4.457,  -12 to  4.457,  15 nohead
set arrow from  5.447,  -12 to  5.447,  15 nohead
set arrow from  5.992,  -12 to  5.992,  15 nohead
set arrow from  6.365,  -12 to  6.365,  15 nohead
set xtics (" G "  0.00000," X "  0.762," P "  1.417," N "  2.073," G "  2.826," M " 4.137," S|S_0 " 4.457, " G|X " 5.447," R|G " 5.992," M " 6.365 )
 plot "BAND.dat" u 1:2  with lines title "dftu","2" u 1:2 with lines title "hse"
# flush output
set output

this is my code , but the title can not be  printed in the png . how to deal with it.

[toc] | [prev] | [next] | [standalone]


#4443

FromDr Engelbert Buxbaum <engelbert_buxbaum@hotmail.com>
Date2021-11-21 16:08 +0100
Message-ID<MPG.3c047f48b62de9979896ca@news.eternal-september.org>
In reply to#4442
In article <67c7765f-5502-4bce-a917-23b135c5e0acn@googlegroups.com>, 
zc970710@gmail.com says...
> 
> ? 2021?11?19???? UTC+8 ??12:09:31,<Buzz McCool> ??:
> > On 11/16/2021 12:11 AM, chao zhou wrote: 
> > > when i set out the png, the line title "xx" can not show, what is the problem?
> > Can you provide more details? 
> > 
> > Perhaps you can include some example code demonstrating the problem? 
> > 
> > Buzz
> # setup terminal
> set term pngcairo lw 2 font "Times,14"
> set output 'band.png'
> 
> set style data dots
> set nokey
> set xrange [0: 6.365]
> set yrange [ -12 : 15]
> set arrow from  0.762,  -12 to  0.762,  15 nohead
> set arrow from  1.417,  -12 to  1.417,  15 nohead
> set arrow from  2.073,  -12 to  2.073,  15 nohead
> set arrow from  2.826,  -12 to  2.826,  15 nohead
> set arrow from  4.137,  -12 to  4.137,  15 nohead
> set arrow from  4.457,  -12 to  4.457,  15 nohead
> set arrow from  5.447,  -12 to  5.447,  15 nohead
> set arrow from  5.992,  -12 to  5.992,  15 nohead
> set arrow from  6.365,  -12 to  6.365,  15 nohead
> set xtics (" G "  0.00000," X "  0.762," P "  1.417," N "  2.073," G "  2.826," M " 4.137," S|S_0 " 4.457, " G|X " 5.447," R|G " 5.992," M " 6.365 )
>  plot "BAND.dat" u 1:2  with lines title "dftu","2" u 1:2 with lines title "hse"
> # flush output
> set output
> 
> this is my code , but the title can not be  printed in the png . how to deal with it.

have you tried: set title "<your title>"?

-- 
DIN EN ISO 9241 Ergonomic requirements for office work with visual 
display terminals (VDTs) - Part 13: User guidance
9.5.3 Error messages should convey what is wrong, what corrective 
actions can be taken, and the cause of the error.

[toc] | [prev] | [next] | [standalone]


#4444

FromJörg Buchholz <bookwood4new@freenet.de>
Date2021-11-22 07:10 +0100
Message-ID<snfc8e$7ro$1@dont-email.me>
In reply to#4442
On 21.11.2021 08:59, chao zhou wrote:
> 在 2021年11月19日星期五 UTC+8 上午12:09:31,<Buzz McCool> 写道:
>> On 11/16/2021 12:11 AM, chao zhou wrote: 
>>> when i set out the png, the line title "xx" can not show, what is the problem?
>> Can you provide more details? 
>>
>> Perhaps you can include some example code demonstrating the problem? 
>>
>> Buzz
> # setup terminal
> set term pngcairo lw 2 font "Times,14"
> set output 'band.png'
> 
> set style data dots
> set nokey
> set xrange [0: 6.365]
> set yrange [ -12 : 15]
> set arrow from  0.762,  -12 to  0.762,  15 nohead
> set arrow from  1.417,  -12 to  1.417,  15 nohead
> set arrow from  2.073,  -12 to  2.073,  15 nohead
> set arrow from  2.826,  -12 to  2.826,  15 nohead
> set arrow from  4.137,  -12 to  4.137,  15 nohead
> set arrow from  4.457,  -12 to  4.457,  15 nohead
> set arrow from  5.447,  -12 to  5.447,  15 nohead
> set arrow from  5.992,  -12 to  5.992,  15 nohead
> set arrow from  6.365,  -12 to  6.365,  15 nohead
> set xtics (" G "  0.00000," X "  0.762," P "  1.417," N "  2.073," G "  2.826," M " 4.137," S|S_0 " 4.457, " G|X " 5.447," R|G " 5.992," M " 6.365 )
>  plot "BAND.dat" u 1:2  with lines title "dftu","2" u 1:2 with lines title "hse"
> # flush output
> set output
> 
> this is my code , but the title can not be  printed in the png . how to deal with it.
> 

The title in the plot command is used in the key, but you use "nokey".
If you use "set key" instead of "set nokey" than your "line titles" will
be displayed in the key.

Jörg

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web