search for: speclong

Displaying 4 results from an estimated 4 matches for "speclong".

Did you mean: spec'ing
2010 Aug 31
2
specify axis range
Dear all, I want to make a plot where I can specify the range of y axis. I am using the interaction.plot command and because the values of y axis are from 2 to 500, I am using a logarithmic scale. >interaction.plot(speclong$Date,speclong$time2,speclong$outcome,xaxt="n",type="l",pch=20,xlab="", log="y", ylab="Concentration (ug/L)",trace.label="",col=rainbow(7)) The plot itself gives me a y scale displaying ticks at 2, 5, 10, 20, 100, 200, 500. I would like...
2010 Sep 03
1
change the type of lines and colours in interaction.plot
Dear all, I want to plot 8 chemical variables in the same plot. I have used the interaction.plot command: > interaction.plot(speclong$Date,speclong$time2,speclong$outcome,xaxt="n",type="l",pch=20,xlab="", log="y", ylab="Concentration (ug/L)",trace.label="",col=rainbow(8)) However, what it gives me is dotted lines and the colours are very fade. I was wondering if I can ch...
2012 Jan 04
0
interaction plot and x axis
...n interaction plot among 6 variables; e.g. PH to be in the x axis and the rest 5 variables in the y axis. The code that I am using is the below: The name of my file is e.g. spec so > spec<-read.csv("spec.csv") >head (spec) >str(spec) >names<-names(spec)[2:6] >speclong <- reshape(spec, idvar = "id", varying = list(names), v.names="outcome",direction = "long") >speclong$time2<-factor(speclong$time,labels=rep(" ",5)) >interaction.plot(speclong$PH,speclong$time2,speclong$outcome, xaxt="n", type="...
2009 Oct 13
0
using axis.Date with interaction.plot
...ls on the x axis and a legend. Is it possible to use axis.Date to get dates, at intervals in my case, on the x axis of a (multiple) time series plot. The axis.Date in the code below doesn't produce any dates on the x axis. (The difference outcome measures are all variable outcome in dataframe speclong and the different groups correspond to different values of the variable time with values 1 to 8) But the same axis.Date command gives x axis Dates perfectly if following an ordinary plot command. So I suppose I could do that and add time series for successive time series using lines( but then I w...