Re: plotting points formatted in utf8

Tatsuro MATSUOKA <[email protected]> Wed, 2 Feb 2022 05:40:40 +0900 (JST)
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <[email protected]>
I tried the following script on 5.4.3 and 5.5 (last modified 2022-01-29) on cygwin
also tried 5.2.8 on windows (I do not have version 5.2 on cygwin) with wxt terminal.

The results are the same. 
The screenshot the below was taken on 5.4.3.
http://tmacchant33.starfree.jp/Files/unicode_test.png

Used script is

# begin
reset session
	set encoding utf8
	set terminal x11 1 nopersist enhanced
set sample 20
plot x w p pt  "◎", \
0.8 * x w p pt "0x9678" , \
0.6 * x w p pt "U+25CE"
 # end

For 5.2.8 on windows, I used the wxt terminal instead of the x11 terminal.

Tatsuro 
> ----- Original Message -----
> 
> From: "Geoff Kaniuk" 
> To: "gnuplot-info
> Date: 2022/02/02 水 03:15
> Subject: [Gnuplot-info] plotting points formatted in utf8
> 
> 
> I am trying to plot points specified in utf8 using the pt "..." option 
> as mentioned in the gnuplot manual. I am using gnuplot v5.2 running in 
> Debian Buster.
> 
> My settings are:
> 	reset session
> 	set encoding utf8
> 	set terminal x11 1 nopersist enhanced
> 
> As an example I tried the Bullseye point:
> ◎  9678(hex)   25CE(utf8)
> 
> It is not clear what syntax I should use to express the character.
> All of the versions:
> 	pt "◎"
> 	pt "0x9678"
> 	pt "U+25CE"
> 
> failed to plot the bullseye ◎
> 
> What am I missing?
> 
> Any help much appreciated
> 
> -- 
> Geoff
> 
> 33 Ashbury Close, Cambridge CB1 3RW 01223 710582
> 
> 
> _______________________________________________
> gnuplot-info mailing list
> [email protected]
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
> 



_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info