MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Changing Plot Axis Displays

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54721] Re: Changing Plot Axis Displays
  • From: "Steve Luttrell" <steve_usenet at _removemefirst_luttrell.org.uk>
  • Date: Mon, 28 Feb 2005 03:27:07 -0500 (EST)
  • References: <cvrq3b$p2k$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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,ToString[5i]},{i,5}],{{1,"A"},{2,"B"},{3,"C"},{4,"D"}},
        Table[{r,ToString[100r]},{r,0,0.8,0.2}]}];

Steve Luttrell

"plizak" <plizak at gmail.com> wrote in message 
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
> 



  • Prev by Date: Re: Mathematica batch file
  • Next by Date: Re: RSolve and complex solutions
  • Previous by thread: Re: Changing Plot Axis Displays
  • Next by thread: Re: Changing Plot Axis Displays