Re: Changing Plot Axis Displays
- To: mathgroup at smc.vnet.net
- Subject: [mg54715] Re: Changing Plot Axis Displays
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Mon, 28 Feb 2005 03:27:01 -0500 (EST)
- Organization: Uni Leipzig
- References: <cvrq3b$p2k$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
A = {{.1, .2, .3, .4, .5},
{.1, .2, .3, .4, .6},
{.1, .2, .3, .5, .7},
{.1, .2, .5, .6, .8} };
ListPlot3D[A, AxesLabel -> {"Years", "Ratings", "rates "},
Ticks -> {
Table[{i, 5*i}, {i, 0, 5}], {{1, "A"}, {2, "B"}, {3, "C"}, {4, "D"}},
Table[{0.2*i, ToString[20*i] <> "%"}, {i, 0, 4}]}]
??
Regards
Jens
"plizak" <plizak at gmail.com> schrieb im Newsbeitrag
news:cvrq3b$p2k$1 at smc.vnet.net...
>
> I have a table that I want to plot, it's a list plot
>
> A = {{.1,.2,.3,.4,.5}
> {.1,.2,.3,.4,.6}
> {.1,.2,.3,.5,.7}
> {.1,.2,.5,.6,.8} }
>
> ListPlot3D[A, AxesLabel->{"Years", "Ratings", "rates"}
>
> Q: I would like the "Ratings" axis to not be numbers 1,2,3
> and 4, but rather A, B, C, and D. Is this possible in
> mathematica?
>
> Q: Can I change the "rates" to be in Percent? i.e instead of
> having the Z axis from 0 to 0.80, could I have the Z axis
> go from 0% to 80%?
>
> Q: Can I offset the "Years" to be 5, 10, 15 and 20 as opposed
> to 1,2,3 and 4?
>
>
>
> Range, Ranges, ListPlot
>