[pstricks] Drawing Weather Maps/Reports (anything about weather?)

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Mar 28 19:33:57 CEST 2017

Am 26.03.2017 um 23:49 schrieb TeXnicer:

> Questions:
> - Is there any packages, pst-packages dealing with this kind of science?
> Weatherreport, Symbols, e.g.?

There is no such package. However, here is an example
how you can write a new package:

\define at key[psset]{}{WeatherSymbol}[]{\def\psk at WeatherSymbol{#1}}
\define at choicekey[psset]{}{WeatherSymbol}[\val\pst at WSymbol]{xyz,abc}[xyz]{}
\def\psWeather{\pst at object{psWeather}}
\def\psWeather at i(#1)#2#3{%
   \pst at killglue
   \addbefore at par{gangle=-135}
   \use at par
   \ifcase\pst at WSymbol   % nr 0->xyz
      \rput{\psk at gangle}(#1){%
   \or                   % nr 1 -> abc

WX: SE~5, misty, 5$^\circ$, 1008\,hPa\par

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto vom 2017-03-28 19-30-46.png
Type: image/png
Size: 9676 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20170328/b21cb622/attachment.png>

More information about the PSTricks mailing list