Default decimal seperator comma instead of dot
15 vues (au cours des 30 derniers jours)
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).
0 commentaires
Réponses (2)
Stephen23
le 12 Sep 2016
Modifié(e) : Stephen23
le 12 Sep 2016
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:
0 commentaires
Leon Miecoanski
le 6 Oct 2017
Modifié(e) : Walter Roberson
le 6 Oct 2017
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 .
Voir également
Catégories
En savoir plus sur Data Type Identification dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!