Localization for wind-directions in gnuplot

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
pietdream
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: Thu Dec 16, 2010 3:54 pm

Localization for wind-directions in gnuplot

Post by pietdream »

Hi,

I have some graphs displaying wind directions, despite I tell gnuplot to localize to "nl_NL", it uses the wind direction abbreviations of the default language (English). The X-axis displays the weekdays in the localized style, but the Y-axis (wind-directions) doesn't.

I'm using Meteohub 4.6v, which already has the Dutch localized wind-dir variables.

This is the extra cmd I use for defining the graph set title "Windrichting laatste 24 uur" font "lsans,11"|set locale "nl_NL". Do I need to add something or edit some file?

--Roel
pietdream
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: Thu Dec 16, 2010 3:54 pm

Re: Localization for wind-directions in gnuplot

Post by pietdream »

Just for clarification: this is an example of the graph.
Wind-dag.png
Wind-dag.png (7.21 KiB) Viewed 4328 times
User avatar
HeinrichH
Gold Boarder
Gold Boarder
Posts: 187
Joined: Sun Jan 04, 2009 6:27 pm
Location: Emmen-Netherlands / Panoias-Portugal
Contact:

Re: Localization for wind-directions in gnuplot

Post by HeinrichH »

This is the string I'm using:

set locale "nl_NL"|set timestamp "%d.%m.%y - %H:%M" top|set key below box|set border -1 lw 2|set style line 1 lw 4|set style increment user|set y2tics mirror|set grid y2tics

Output, see attachment
Attachments
Winddefenitie.jpg
Winddefenitie.jpg (69.99 KiB) Viewed 4295 times
Winddirection.jpg
Winddirection.jpg (106.16 KiB) Viewed 4296 times
Post Reply