Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #14565
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!newspump.sol.net!post2.nntp.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail |
|---|---|
| From | Tomas Garza <tgarza10@msn.com> |
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: How to substitute decimal dot with decimal comma in |
| Date | Tue, 21 May 2013 04:03:03 +0000 (UTC) |
| Sender | steve@smc.vnet.net |
| Approved | Steven M. Christensen <steve@smc.vnet.net>, Moderator |
| Message-ID | <knerln$3e$1@smc.vnet.net> (permalink) |
| References | <20130520090512.F3FE469E8@smc.vnet.net> |
| Lines | 20 |
| Organization | Time-Warner Telecom |
| NNTP-Posting-Date | 21 May 2013 04:04:13 GMT |
| NNTP-Posting-Host | 62019e6f.news.twtelecom.net |
| X-Trace | DXC=H7mQ7F4l[[Mk^S9D<aY5lLC_A=>8kQj6M9BHNOcEA\@I>kB<G3=>eSCEFiONJ7[GoFel:c?Of9^fD |
| X-Complaints-To | abuse@twtelecom.net |
| Xref | csiph.com comp.soft-sys.math.mathematica:14565 |
Show key headers only | View raw
Try the following example:
ListPlot[Table[j,{j,0.5,10,1}]]
Define the ticks as strings (check the online Help for Ticks in the details section). Use StringReplace (cf. the online Help browser) to change the dot for a comma on each of them:
tks=Table[j,{j,0.5,10,1}];
ListPlot[Table[j,{j,0.5,10,1}],Ticks->{Transpose[{tks,StringReplace[#,"."->","]&/@ToString/@tks}],Automatic}]
-Tomas
> From: igor.kotelnikov@gmail.com
> Subject: How to substitute decimal dot with decimal comma in Plot ticks?
> To: mathgroup@smc.vnet.net
> Date: Mon, 20 May 2013 05:05:12 -0400
>
> Is it possible to substitute decimal dots by decimal commas on Plot axes? I need to make that substitution in all routines (Plot, LogPlot, LogLogPlot, e.t.c.) at ones since in my native language decimal comma is used instead of decimal dot as it is in English.
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: How to substitute decimal dot with decimal comma in Tomas Garza <tgarza10@msn.com> - 2013-05-21 04:03 +0000
csiph-web