Displaying 20 results from an estimated 10000 matches similar to: "plot() change unit length"
2008 Jul 14
5
A question about using function plot
Hello, everyone! I have spent two hours to get what I wanted in a simple situation and have not been successful. The set up is extremely simple
x = c(1,2,4,8)
y = c(1,2,3,4)
plot(x, y)
What I need, however, is for the 4 points of 1,2,4,8 to be spaced evenly, not by their numerical scale. Also, there should not be any other values such as 5,6,7 marked on the axis.
So I tried the following
x =
2012 Mar 08
6
how to modify the tickment of x-axis
hi
I plot a series of observation data every minutes in a day as the
attachment below
plot(wnd,type='l',lty=1,col='red',lwd=1,xlab=xxlab,ylab=yylab,ylim=YY)
In the figure, the x-axis tickment is the number of data How can I change
it
fore example 1h 2h 3h 4h and so on ?
--
TANG Jie
Email: totangjie at gmail.com
Tel: 0086-2154896104
Shanghai Typhoon Institute,China
2008 Apr 27
1
parallel max, min, and median of dataframe columns
Hello, all,
I have a dataframe of three rows and umpteen columns. I want to show the
maximum, minimum, and median with a vertical line and a central dot (I'd
use a boxplot, but with only three data points, that's overkill; I can't
just use points, because of overlap and some of the other data plotted on
the graph).
This works:
> boxplot(data_frame,
2009 Jul 29
1
Systematic resampling (in sequential Monte Carlo)
Dear all,
Here is a little coding problem. It falls in the category of "how can I do
this efficiently?" rather than "how can I do this?" (I know how to do it
inefficiently). So, if you want to take the challenge, keep reading, otherwise
just skip to the next post - I won't be offended by that ;-)
I am coding a particle filter and I want to use systematic resampling to
2010 May 13
3
Multiple plots; single x(y) labels
Hi All,
Can anyone please help me with getting a single x and y-axis label while
plotting muliple plots. Here is the code:
par(mfcol=c(2,2))
plot(x <- sort(rnorm(7)), type = "s", main = "", ylab="", xlab="")
plot(x <- sort(rnorm(27)), type = "s", main = "", ylab="", xlab="")
plot(x <- sort(rnorm(47)), type =
2012 Aug 21
2
change axis label from -100-100 to 100-100
Hi guys, i need help. I have an axis that runs from -100 -75, -50, -25, 0 25,
50, 75, 100. I need to somehow hide or remove the '-' in the axis label. Is
there anyway to do this?? I would still like R to think of the left side of
my graph as negatives, but visually appear as though they are not negative
values (if that makes sense!) .
--
View this message in context:
2010 Mar 31
2
Bar plots with bars made of stacked text
I would like to make bar plots where the bars are composed of text like this:
http://www.thomaslevine.com/lowres/text_bars.png
Is there a package that will help me with this? Thanks
Tom
2007 Sep 14
3
x-axis order
Hi all,
I have a time series which contain data collected weekly from week 26
to week 25 the following year. How do I plot this data, so that the
x-axis is displaying the week numbers, ordered as in the data?
Thanks in advance,
Gustaf
---
x<-c(26:52,1:25)
y<-rnorm(52)+1:52
plot(x,y) ## How do I get the x axis to be ordered by the current
ordering of x?
--
Gustaf Rydevik, M.Sci.
tel:
2006 Nov 08
10
axis command and excel time format
Hi to all,
I have some problems to get the times-scale to the x-axis the times are
coming from an excel sheet f. e
[1] "0:01:00" "0:02:00" "0:03:00" "0:04:00" "0:05:00" "0:06:00" "0:07:00"
[8] "0:08:00" "0:09:00" "0:10:00" "0:11:00" "0:12:00" "0:13:00"
2013 Jan 28
2
R plot like candlestick
Hi all,
I'm new on this list so I greet all.
My question is: does exist in R a plot similar to candlestick plot but
not based on xts (time series)? I have to plot a range of 4 value: for
every item I have min value, max value and 2 intermediate values. I
would like plot this like a candlestick, i.e. with a box between 2
intermediate values and 1 segment between box and min value and a
segment
2010 Jan 27
9
Remote debug quetion
Hey all,
I plan to use windbg tool to do remote debug my Windows PV Driver.
I''m confused how to setup the enviroment.
Any Advice?
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2010 Jan 27
9
Remote debug quetion
Hey all,
I plan to use windbg tool to do remote debug my Windows PV Driver.
I''m confused how to setup the enviroment.
Any Advice?
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2013 Aug 25
4
The error for creating a new vm for kvm
I checked the capabilities. I do not know why the guest is only for vbox.
<guest>
<os_type>hvm</os_type>
<arch name='i686'>
<wordsize>32</wordsize>
<domain type='vbox'>
</domain>
</arch>
</guest>
I want it run qemu-kvm. and when i run virsh define
/etc/libvirt/qemu/demo.xml. It shows error:
2007 Aug 24
4
Turning a logical vector into its indices without losing its length
I have the code below which gives me what I want for temp based on
logvec but I was wondering if there was a shorter way ( i.e :
a one liner ) without having to initialize temp to zeros. This is
purely for learning purposes. Thanks.
logvec <- c(TRUE,FALSE,FALSE,TRUE,FALSE,FALSE,TRUE,FALSE)
temp<-numeric(length(invec))
temp[invec]<-which(invec)
temp
[1] 1 0 0 4 0 0 7 0
obviously, the
2008 Mar 15
1
length of S4
Hi the list,
With basic type, length gives the length of the vector
Wtih list, length gives the number of item
With S4 object, length gives...one. Even with an objet with empty slot.
setClass("E",representation(e="numeric"))
[1] "E"
length(new("E"))
[1] 1
setClass("E",representation(e="matrix"))
[1] "E"
2008 Feb 12
3
help with bwplot
Dear list,
I have following data set, which I want to plot the "Scale" variable on the
x-axis and "Mean"´on the y-axis for each Ageclass and for each sex. The Mean
value of each Ageclass for each sex would be connected by a line. Totally,
there should be 6 lines, from which three present the Mean values of each
Ageclass for respective sex. Are there any easy ways to do
2009 Feb 25
1
Place independent labels between values on x-axis
I conducted a frequency averaging procedure which left me with the data frame
below (Bin is an artifact of a cut() procedure and can be either
as.character or as.factor):
Bin Freq
1 (-180,-160] 7.904032
2 (-160,-140] 5.547901
3 (-140,-120] 4.522542
4 (-120,-100] 4.784184
5 (-100,-80] 4.490083
6 (-80,-60] 4.754268
7 (-60,-40] 5.597407
8 (-40,-20] 5.964031
9
2011 Aug 30
1
ROC plot for KNN
Hi I need some help with ploting the ROC for K-nearest neighbors. Since KNN
is a non-parametric classification methods, the predicted value will be
either 0 or 1.
It will not be able to test for different cutoff to plot ROC. What is the
package or functions I should use to plot ROC for KNN?
Thanks.
Qian
[[alternative HTML version deleted]]
2005 Mar 25
3
Stratified bootstrap question
Dear experts,
I am asking for help with a question regarding to stratified bootstrap.
My dataset is a longitudinal dataset (3 measurements per person at year
1, 4 and 7) composed of multiple clinic centers and multiple participants
within each clinic. It has missing values.
I want to do a bootstrap to find the standard errors and confidence
intervals for my variance components. My model is a
2006 Oct 02
5
Barplot
Hello,
I have used the following data to draw my barplot:
BL LR Q
36.35 1.00 1.92
36.91 4.00 0.00
25.70 6.00 0.00
34.38 3.00 1.92
05.32 0.50 0.00
BL<-c(36.35, 36.91, 25.70, 34.38, 05.32)
LR<-c(1.00, 4.00, 6.00, 3.00, 0.50)
Q<-<(1.92, 0.00, 0.00, 1.92, 0.00)
barplot(dt$LR, main='LR Value', col='orange', border='black',