Displaying 20 results from an estimated 3000 matches similar to: "How to set the scale of axis?"
2009 Jul 02
2
Need to study and learn about better plots
Hi,
So far my plotting needs have been sort of ignored as I got
acquainted with R this week, but now that I have the basics in place
for the program I wanted to write it's time for me to start learning
about how to make output that better suits my needs. I think I have
two sort of charts I need to concentrate on learning how to produce:
1) Probably a trivial request - a single chart that
2007 Apr 25
1
How to identify and exclude the outliers with R?
Hello, everyone,
I want to ask a simple question.
If I have a set of data,and I want to identify how many outliers there are
in the data.Which packages and functions can I use?
Thanks.
Shao chunxuan.
[[alternative HTML version deleted]]
2010 Feb 19
3
plot circular histogram
In conducting studies of animal orientation and displacement, I need to
produce circular histograms of angles (bearings in radians 0-2pi) where the
centre of the circle indicates very few observations for a given bin of
angles and outwardly concentric circles indicate greater frequencies of
observations for a given bin of angles. I'd like not to have to write the
function myself but I
2010 Sep 16
3
Help with customizing a histogram figure
Hi all,
Please consider the following code:
require(plotrix)
l <- list(rnorm(50),rnorm(50,sd=2),rnorm(50,mean=3))
multhist(l)
I have two things I need help with:
(1) In the output, there are empty spaces on the x-axis. How would I eliminate
these spaces? I want a nice, smooth, empty-spaceless x-axis.
(2) How could I add tracing lines to each histogram? I am undoubtedly using the
wrong
2005 Apr 18
5
the graph gallery strikes back
Hello useRs and helpRs,
Some time ago, in a gallaxy far away (here is the thread :
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/46532.html ) we
discussed about a graph gallery showing the power of R in that domain. I
did some work around that, and there is a (pretty advanced) draft here :
http://addictedtor.free.fr/graphiques/displayGallery.php
For instance, there are some of my graphs,
2005 Oct 26
1
hclust leaf color
Hello everyone,
I wanted to know if it was possible to change the color of certain leaves in a
hclust object in order to make my graph more readable. I know I can color
certain groups but I would like to enter a vector telling the plot function
which leaves to color in which color.
Thanks in advance,
William.
2006 Sep 06
4
histogram in the background?
I intend to draw a plot of y against x. In the background of this graph I
wish to creat a histogram of the horizontal variable x. Does any expert know
how to produce such a plot?
[[alternative HTML version deleted]]
2006 Feb 13
2
Plotting contour & filled.contour in one graph
Dear All,
I have a question on overlaying a filled.contour (e.g. on soil properties data) and contour (by elevation) in one graph. Both have the same z matrix dimension. I'm able to overlay both graph, but the plots dimension did not overlap well on the same plots. How can I have both filled.contour and contour on the same graph? The commands that I have written are as follows:
2010 Sep 21
5
Combined plot: Scatter + density plot
Hi,
in order to save space for a publication, it would be nice to have a
combined scatter and density plot similar to what is shows on
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=78
I wonder if anybody perhaps has already developed code for this and is
willing to share. This is the reproducible code for the histogram
version obtained from the site:
def.par <-
2007 Jun 25
4
how to plot this?
Hi, there:
Suppose I have a couple of data.frames and each one has five columns
(one for x-axis, two for y-axis and two for std of y's.) There is
another dimensions (besides x and y) which is continuous. My question
is, how to plot such series of data frames in one plot (thus,
3-dimensional plot) AND multiple 2-D plots. I am not familar with R's
plotting utilities.
Thanks.
--
Weiwei
2005 Sep 28
1
scatterplot3d + density() + polygon(color)
Hi R Users,
How to use the function polygon()
together with the package scatterplot3d?
I am trying to color below of the curves
defined for the function density().
I tried to use the site: R GRAPH GALLERY
as tutorial.
I tried to adapt the example of this page:
[figure]:
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=30
[code]:
2008 Sep 13
4
bubble(circle) plot help.
I need help creating a bubbleplot, like a simple pseudo three dimensional scatterplot of circles whose sizes index a 3rd variable. I initially came across this at http://addictedtor.free.fr/graphiques/graphcode.php?graph=73 but the circleplot function does not exist in fbasic as listed in the document.
_________________________________________________________________
2005 Aug 02
3
how to print a data.frame without row.names
Dear All,
is there a simple way to print a data.frame without its row.names?
example:
datum <- as.Date(c("2004-01-01", "2004-01-06", "2004-04-12"))
content <- c('Neujahr', 'Hl 3 K.', 'Ostern')
df1 <- data.frame(datum, content)
print(df1)
datum content
1 2004-01-01 Neujahr
2 2004-01-06 Hl 3 K.
3 2004-04-12 Ostern
Can I get
2005 May 19
2
ARIMA estimation
Good morning,
(sorry for my english)
i have some problems to put off by extimation ARIMA coefficients
the ones not significatives.
Exist a method to extimate only that significatives?
i use the command: arima().
thanks to all
Stefano
[[alternative HTML version deleted]]
2010 Mar 16
1
labels gone
Dear R users:
I am drawing a graph with the following code:
Tau<-seq(0.05,0.95,0.05);
Pi <- seq(0.19,0.01,-0.01);
par(cex.axis=0.8,ps=9,mar=c(1.5,1,0.5,1), oma=c(1,1,0.2,1) ,tck=-0.01);
plot(Tau,Pi, type='l', xlab="Tau",ylab="Pi",col=4);
I want to make the graph take as little space as possible. Here I run into
two problems. One is that the labels are gone, the
2012 Jan 09
1
par.plot() for repeated measurements
Hello,
I am using the package gamlss in R to plot repeated measurements. The
command I am using is par.plot(). It works great except one thing about the
label of the axises. I tried to label both x and y axises using ylab and
xlab options. But the plot only gives variable variables. The labels did not
show up. Below is the code I used. Any comments are appreciated! Thanks.
library(gamlss)
2011 Mar 03
2
Ordering several histograms
Hallo everyone,
I want to evaluate the change of the distribution for several size classes.
How can i order these separate histograms with the same y-axis along a
common x-axis according to their size classes. It would like it to look a
bit like this
(http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=109) without
the quantile regression. I can produce the separate histograms, but have
2003 Nov 07
3
Two Y-axises and One X-axis
Hi,
I would like to know if anyone knows how to draw a plot with two Y-axises and
one X-axis? When you have two sets of y values that do not have the same
scale, but correspond to the same x value, I would like to plot them on one
graph.
Could you please help me?
Thank you
Soyoko
2005 Dec 16
2
dendrogram branches with different lty
Dear r-list,
I am trying to visually seperate the two main clusters of a dendrogram.
The idea is to use:
'edgePar=list(lty=3)' for 'dend1[[1]]' and
'edgePar=list(lty=1)' for 'dend1[[2]]'
I have not found a way to solve this. Any suggestions?
Patrick
hc <- hclust(dist(USArrests), "ave")
(dend1 <- as.dendrogram(hc))
par(mfrow=c(2,2))
plot(dend1)
2007 Nov 02
2
add histograms or distributions on regression line
hello, does anyone know how to add histograms or distributions
on regression like just like quantiles regression in RGraphGallery
below, a very
delicate codes. Thanks alot.
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=109