Re: [R] Plotting in R

2019-07-18 Thread nstefi
Steven -Original Message- From: Jim Lemon Sent: Thursday, July 18, 2019 5:25 AM To: nst...@gmail.com Cc: r-help mailing list Subject: Re: [R] Plotting in R Hi Steven, I caved in and installed plotly. Not an easy task. When I tried your example, I got a blank HTML page displayed. I the

Re: [R] Plotting in R

2019-07-18 Thread Jim Lemon
gt; tickmode = "array", > tickangle = 270 > )) > > Any ideas? > > Thanks, > Steven > > -Original Message- > From: nst...@gmail.com > Sent: Tuesday, July 16, 2019 9:55 AM > To: 'Jim Lemon' > Cc: 'r-help mailing l

Re: [R] Plotting in R

2019-07-16 Thread nstefi
Sent: Tuesday, July 16, 2019 9:55 AM To: 'Jim Lemon' Cc: 'r-help mailing list' Subject: RE: [R] Plotting in R OK, I think I got this: For example every 3rd element would be: sydf$monthday[seq(1, length(sydf$monthday), 3)] Thanks, Steven -Original Message- From: nst..

Re: [R] Plotting in R

2019-07-16 Thread nstefi
OK, I think I got this: For example every 3rd element would be: sydf$monthday[seq(1, length(sydf$monthday), 3)] Thanks, Steven -Original Message- From: nst...@gmail.com Sent: Tuesday, July 16, 2019 9:39 AM To: 'Jim Lemon' Cc: 'r-help mailing list' Subject: R

Re: [R] Plotting in R

2019-07-16 Thread nstefi
: Friday, July 12, 2019 6:41 PM To: nst...@gmail.com Cc: r-help mailing list Subject: Re: [R] Plotting in R Oh, sorry, I think I see what you have tried to do. You want yearly ticks but month-day labels. These won't mean much unless you also have the year. If you ask for a date with just

Re: [R] Plotting in R

2019-07-12 Thread Jim Lemon
t;array", > > tickangle = 270 > > )) > > > > But the chart didn't show any tick labels. > > I guess I need to sample sydf$monthday, right? Because that's what I want > > to show as tick labels. But the problem is that monthday is string, and

Re: [R] Plotting in R

2019-07-12 Thread Jim Lemon
t to > show as tick labels. But the problem is that monthday is string, and can't > use a value for "by=", maybe I need to sample somehow by the index position. > > Thanks, > Steven > > -Original Message- > From: Jim Lemon > Sent: Thursday, Jul

Re: [R] Plotting in R

2019-07-12 Thread nstefi
value for "by=", maybe I need to sample somehow by the index position. Thanks, Steven -Original Message- From: Jim Lemon Sent: Thursday, July 11, 2019 10:41 PM To: nst...@gmail.com Cc: r-help mailing list Subject: Re: [R] Plotting in R Hi Steven, Neat solution. With a lot m

Re: [R] Plotting in R

2019-07-11 Thread Jim Lemon
ues evenly from the list of x axis lables, and > use that for the "ticktext" parameter. > I thought it must be some variation of the seq(from, to, by= ). Can I use > that with a list of strings? > > Thanks, > Steven > > -Original Message- > From: Jim Lem

Re: [R] Plotting in R

2019-07-11 Thread nstefi
t this only changes the title of the x axis to "month-day". I want > the values on the x axis to show 05-01 06-01, etc. > Is that possible? > > Thanks, > Steven > > -Original Message- > From: R-help On Behalf Of Jim Lemon > Sent: Sunday, July 7, 201

Re: [R] Plotting in R

2019-07-11 Thread Jim Lemon
want the > values on the x axis to show 05-01 06-01, etc. > Is that possible? > > Thanks, > Steven > > -Original Message- > From: R-help On Behalf Of Jim Lemon > Sent: Sunday, July 7, 2019 2:59 AM > To: Steven Yen ; r-help mailing list > > Subject: Re: [R]

Re: [R] Plotting in R

2019-07-11 Thread Bert Gunter
t; but this only changes the title of the x axis to "month-day". I want the > values on the x axis to show 05-01 06-01, etc. > Is that possible? > > Thanks, > Steven > > -Original Message- > From: R-help On Behalf Of Jim Lemon > Sent: Sunday, July 7, 2019 2:59 AM &g

Re: [R] Plotting in R

2019-07-11 Thread David Carlson
his: > plot(sydf$year,sydf$rate,type="b", > xlab="month-day",ylab="Rate") > > but this only changes the title of the x axis to "month-day". I want the > values on the x axis to show 05-01 06-01, etc. > Is that possible? > > Thanks,

Re: [R] Plotting in R

2019-07-11 Thread nstefi
ot_ly?" -Original Message- From: nst...@gmail.com Sent: Thursday, July 11, 2019 11:59 AM To: 'Jim Lemon' ; 'Steven Yen' ; 'r-help mailing list' Subject: RE: [R] Plotting in R Hi Jim, Thanks for your email. My question was: how to change the x axis labels without cha

Re: [R] Plotting in R

2019-07-11 Thread nstefi
, etc. Is that possible? Thanks, Steven -Original Message- From: R-help On Behalf Of Jim Lemon Sent: Sunday, July 7, 2019 2:59 AM To: Steven Yen ; r-help mailing list Subject: Re: [R] Plotting in R Hi Steven, A basic plot can be displayed like this: sydf<-read.table(text="year

Re: [R] Plotting in R

2019-07-07 Thread Jim Lemon
Hi Steven, A basic plot can be displayed like this: sydf<-read.table(text="year rate 1993 0.608 1994 0.622 1996 0.623 1998 0.647 2000 0.646 2002 0.625 2004 0.628 2006 0.685 2008 0.679 2010 0.595 2012 0.567 2014 0.599 2016 0.642 2018 0.685", header=TRUE) plot(sydf$year,sydf$rate,type=

Re: [R] Plotting in R

2019-07-06 Thread John Kane
Please do not post in html. You could use ggplot to do this. But you need to do a bit of work yourself. On Sat, 6 Jul 2019 at 10:51, wrote: > > Hello, > > Please don't post inHTML, the data is unreadable. > > As for the question, it is very basic. try any of > > > plot(rate ~ year, data = df)

Re: [R] Plotting in R

2019-07-06 Thread ruipbarradas
Hello, Please don't post inHTML, the data is unreadable. As for the question, it is very basic. try any of plot(rate ~ year, data = df)# df is your dataframe plot(df$year, df$rate) Then read ?plot and ?par to see how to customize the graph, by changing the plot type, how to add colors,

Re: [R] Plotting in R

2019-07-06 Thread Bert Gunter
Oh come on! Please do your homework and spend time with some basic R tutorials, one of which ships with R, although there are tons more good ones on the web. And FYI, there are *several* different plotting systems that one can access using various R packages. Probably the most basic -- but still

Re: [R] plotting in R

2010-01-15 Thread jim holtman
Could you at least show how you were plotting it when you got the error. It is not clear what you are trying to plot. The statement plot("insert_file_name_here") did not make sense. On Fri, Jan 15, 2010 at 5:48 PM, cobbler_squad wrote: > > Hello, > > As a result of running linear discriminant