MathGroup Archive 2005

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

Search the Archive

Re: Changing Plot Axis Displays


Needs["Graphics`"];

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->{
        {#,5#}&/@Range[5],
        {#,{"A","B","C","D"}[[#]]}&/@Range[4],
        Table[{x,100x},{x,0,1,1/5}]},
    ImageSize->400];


Bob Hanlon

> 
> From: "plizak" <plizak at gmail.com>
To: mathgroup at smc.vnet.net
> Date: 2005/02/27 Sun AM 01:29:19 EST
> To: mathgroup at smc.vnet.net
> Subject: [mg54732] [mg54694] Changing Plot Axis Displays
> 
> 
> 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: Memory Leak in Mathematica?
  • Next by Date: Re: Re: nonlinear differential equation
  • Previous by thread: Re: Changing Plot Axis Displays
  • Next by thread: Re: Changing Plot Axis Displays