Default decimal seperator comma instead of dot
Afficher commentaires plus anciens
Is ist possible to change the default decimal seperator in graphics from dot to comma? If yes, how? I'm writing my PhD theses in german and I have to use the german decimal seperator in all graphics (comma).
Réponses (2)
Short answer: no.
Long answer: maybe, if you are prepared to play around with Java:
This is not a standard MATLAB feature, so be prepared to do some experimenting... it may also be the the new graphics engine has some feature that allows this. Good luck finding it!
Of course you could always specify every string label/title/... yourself, and replace the dot with a comma. However this does not "change the default" as your question requests.
You should also request that this support be added to MATLAB:
Not an answer: MatPlotLib has multiple ways to specify this: for example by specifying the radix character explicitly, or by specifying the locale:
Leon Miecoanski
le 6 Oct 2017
Modifié(e) : Walter Roberson
le 6 Oct 2017
0 votes
To only change dot to comma in a graphic, in a plot window select Edit and then axes properties.
Click in Ticks (Edit axes ticks) and then select manual to insert the format you wish.
1 commentaire
Walter Roberson
le 6 Oct 2017
However, only sprintf type formats are supported, and none of them can use comma instead of decimal point .
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!