examples for the recent plot enhancements

This commit is contained in:
Holger Vogt 2020-02-10 21:17:31 +01:00
parent e90393b704
commit 0d4fe21269
2 changed files with 15 additions and 3 deletions

View File

@ -8,12 +8,14 @@ let y = exp(x)
*setcs xfont='Baekmuk Dotum'
setcs xfont='Noto Sans CJK JP'
*set xfont_size=18
*setcs xfont='맑은 고딕'
set xfont_size=20
set gridwidth=1
set xbrushwidth=8
set color2=rgbd:0/126/0
set color0=blue
unset nolegend
* color1 (text/grid) selected automatically
plot y vs x xlabel '我能吞下玻璃而不伤身体' ylabel 'Я могу есть стекло, оно мне не вредит' title ' أنا قادر على أكل الزجاج و هذا لا يؤلمني.'
set color2=rgbd:0/0/255

View File

@ -8,7 +8,10 @@ set hcopydevtype = postscript
set hcopypscolor=0
set hcopypstxcolor=1
set hcopyscale=1
* 16 bit color for Linux
set color2=rgb:F/0/0
* 256 bit color for Windows or Linux
set color2=rgb:FF/0/0
*setcs hcopyfont=Arial
*
*setcs hcopyfont='Nimbus Mono-Regular'
@ -28,11 +31,18 @@ plot y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y: ÜüÖöÄäÜÜÜÜÜÜ
* Linux, CYGWIN
* Use font (*.ttc) from Cygwin distribution
setcs xfont='Noto Sans CJK JP Light'
set xfont_size=16
set xfont_size=16
set color2=rgb:0/FF/0
set xbrushwidth=2
plot y vs x xlabel '我能吞下玻璃而不伤身体' ylabel 'Я могу есть стекло, оно мне не вредит' title 'Titré 22 أنا قادر على أكل الزجاج و هذا لا يؤلمني.'
set color2=rgb:0/FF/FF
set xbrushwidth=4
plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 23 私はガラスを食べられます。それは私を傷つけません' loglog
set color2=rgbd:255/0/255
set xbrushwidth=8
plot y vs x+0.001 xlabel 'Titré 私はガラスを食べられます。それは私を傷つけません' ylabel '나는 유리를 먹을 수 있어요. 그래도 아프지 않아요' title 'Titré 24 我能吞下玻璃而不伤身体。' loglog
unset color2
set color0=white
* https://www.fontsc.com/font/tag/arabic
setcs xfont='Lateef'
set xfont_size=22