NoPaste

Gnuplot-Script

von GregorS
SNIPPET_DESC:
Script zum Testen von Unicode-Zeichen
SNIPPET_CREATION_TIME:
23.01.2023 18:56:41
SNIPPET_PRUNE_TIME:
22.02.2023 18:56:41

SNIPPET_TEXT:
  1. #!/usr/bin/gnuplot -persist
  2. set terminal pngcairo  transparent enhanced font "arial,10" fontscale 1.0 size 600, 400
  3. set output 'unicode.png'
  4. unset border
  5. set label 1 "unicode {\\\\}U+221E : \\U+221E   Infinity" at screen 0.1, 0.8, 0 left norotate font "serif,15" back nopoint
  6. set label 2 "unicode {\\\\}U+210F : \\U+210F   Planck constant h-bar" at screen 0.1, 0.7, 0 left norotate font "serif,15" back nopoint
  7. set label 3 "unicode {\\\\}U+222C : \\U+222C   Double integral" at screen 0.1, 0.6, 0 left norotate font "serif,15" back nopoint
  8. set label 4 "unicode {\\\\}U+03F5 : \\U+03F5   Greek lunate epsilon" at screen 0.1, 0.5, 0 left norotate font "serif,15" back nopoint
  9. set label 5 "unicode {\\\\}U+7403 : \\U+7403   CJK unified ideograph 'sphere'" at screen 0.1, 0.4, 0 left norotate font "serif,15" back nopoint
  10. set label 6 "{\\}{a{\\\\}U+0361{\\}b        : {a\\U+0361}b   Ligature tie (combining)" at screen 0.1, 0.3, 0 left norotate font "serif,15" back nopoint
  11. set label 7 "v{\\\\}U+20D7           : v\\U+20D7" at screen 0.1, 0.2, 0 left norotate font "serif,15" back nopoint
  12. set style data lines
  13. unset xtics
  14. unset ytics
  15. unset ztics
  16. unset cbtics
  17. unset rtics
  18. set title "Illustrate use of unicode escape sequences"
  19. set title  font "serif,15" textcolor lt -1 norotate
  20. set xrange [ * : * ] noreverse writeback
  21. set x2range [ * : * ] noreverse writeback
  22. set yrange [ * : * ] noreverse writeback
  23. set y2range [ * : * ] noreverse writeback
  24. set zrange [ * : * ] noreverse writeback
  25. set cbrange [ * : * ] noreverse writeback
  26. set rrange [ * : * ] noreverse writeback
  27. set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front  noinvert bdefault
  28. NO_ANIMATION = 1
  29. plot [0:1][0:1] -1 notitle

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN