s-news
[Top] [All Lists]

[S] Plot question Solved

To: "'splus'" <s-news@wubios.wustl.edu>
Subject: [S] Plot question Solved
From: "Box, Jim" <box00002@onyx.dcri.duke.edu>
Date: Tue, 23 Feb 1999 11:25:26 -0500
Sender: owner-s-news@wubios.wustl.edu
Thanks for all the rapid help.
Here's the answer:


> ----------
> From:         Jean_Adams@usgs.gov[SMTP:Jean_Adams@usgs.gov]
> Sent:         Tuesday, February 23, 1999 1:28 PM
> To:   Box, Jim
> Subject:      Re: [S] Plot question
> 
>      
>      If your vector of labels is called my.labels, this should do the 
>      trick:
>      
>      plot(x, y, axes=F)
>      axis(1)
>      axis(2, at=1:10, labels=my.labels)
>      box()
>      
>      Hope this helps.
>      
>      JVA
> 
> 
> ______________________________ Reply Separator
> _________________________________
> Subject: [S] Plot question
> Author:  "Box; Jim" <box00002@onyx.dcri.duke.edu> at
> NBS-Internet-Gateway
> Date:    02/23/99 11:02 AM
> 
> 
> 
> I know this should be an easy one, but I can't find the proper
> reference
> in the par help.
> 
> Instead of having the labels of my y-axis be the numbers 1:10, I want
> to
> use a vector of labels I have assigned.  I can make it work via the
> GUI,
> but I'd like to be able to use the command line only.
> 
> Thanks,
> 
> 
> ______________
> Jim Box
> DCRI Statistics
> 
> ----------------------------------------------------------------------
> -
> This message was distributed by s-news@wubios.wustl.edu.  To
> unsubscribe
> send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
> message:  unsubscribe s-news
> 
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>
  • [S] Plot question Solved, Box, Jim <=