Displaying 20 results from an estimated 100 matches similar to: "Axis manipulation in Stackpoly (Plotrix)"
2009 Sep 20
3
problems with Stackpoly, package Plotrix
Dear all,
I am fairly new to package Plotrix and I would like to ask you, if any of
you could help me with following.
a) I don't know how to set up border line width in the Stackpoly function
(seems that lwd from par doesn't work, or at least not in the way I have
written)
b) I don't know, how to rotate the x axis labels (I used srt=45, but same
problem as before).
c) Could anyone
2007 Sep 28
2
plot graph with error bars trouble
Hi,
I have a data set like this:
Mutant Rep Time OD
02H02 1 0 0.029
02H02 2 0 0.029
02H02 3 0 0.023
02H02 1 8 0.655
02H02 2 8 0.615
02H02 3 8 0.557
02H02 1 12 1.776
02H02 2 12 1.859
02H02 3 12 1.668
02H02 1 16 3.379
02H02 2 16 3.726
02H02 3 16 3.367
306 1 0 0.033
306 2
2008 Oct 06
2
Stacked area chart and legends
I have found lots of good advice on this forum about stacked area charts but
I?ve run into problems with the 2 recommended options: stackploy in plotrix
or qplot in ggplot2. I have a many page report that will be in a 2x2 page
format ?par(mfrow=c(2,2))?? and need one of the page components to be a
stacked chart.
I?d prefer to use stackpoly, if possible, but I?m stuck on how to do the
legend in
2012 Feb 02
1
"shifted" bar chart / battleship curve
What I want to do is create a horizontal bar chart matrix for a set of data that have a common set of variables (e.g., % of As, % of Bs, etc.) listed on the Y-axis and groups (e.g., Classes) on the X-axis. The key here is that the bars for each individual class plot are "centered" rather than left or right-justified. In archaeology plots similar to this are called battleship curves or
2012 Jan 27
1
Help boxplot to add mean, standard error and/or stadard deviation
Dear researchers
I wish to plot a box plot without the mean line (the black line) and plot
only the mean (red square). Futhermore, is it possible to add standard
error and/or stadard deviation?
This is an example
mytest <- c(2.1,2.6,2.7,3.2,4.1,4.3,5.2,5.1,4.8,1.8,1.4,2.5,2.7,3.1,2.6,2.8)
boxplot(mytest,lty = "solid")
means <- mean(mytest,na.rm=TRUE)
points(means, pch = 22, col
2010 Mar 26
2
how to make stacked plot?
Dear friends:
I'm interested to make a stacked plot of cumulative incidence. that's, the cuminc model is fitted [fit=cuminc(time, relapse)] and cumulative incidence is in place. I'd like to stack the cuminc plots (relapse of luekemia and death free from leukemia, for example) , then the constituent ratio of leukemia relapse and treatment related mortality is very clear. Can
2008 Sep 17
3
Stacked Area Plot
Hi:
I've searched the archives and the Internet for hours but have yet to find a way to do stacked area plots (like the kind in Excel) in R. I think that polygon may work but it would require a bit of manipulation of my data. I was hoping for an easier way.
An example of what I'm trying to do can be found here:
http://jcharts.sourceforge.net/samples/stackedArea.html
Thanks,
Josip
2012 Mar 22
2
Bubble chart
I have a matrix of p-values for for each explanatory variable. Each row is an
area of the response variable and each column is an explanatory variable.
e.g.
PSA pval_DOY pval_PDSIconcurrent pval_PDSIantecedent_annual_average
pval_TMAXanomaly pval_FM100anomaly
1 NC06 0.96747495 0.6092668 0.53353019
0.9301115 0.99801334
2 NC04 0.04699659
2012 Nov 03
1
Violin plot of categorical/binned data
Hi,
I'm trying to create a plot showing the density distribution of some
shipping data. I like the look of violin plots, but my data is not
continuous but rather binned and I want to make sure its binned nature (not
smooth) is apparent in the final plot. So for example, I have the number of
individuals per vessel, but rather than having the actual number of
individuals I have data in the
2008 May 22
5
3D Area Diagram
Hello,
maybe someone can help me. I am looking for a possibility to plot a 3D area
diagram like in Excel:
http://www.microsoft.com/germany/mac/excel/images/chartbefore.jpg Watch
this!
Would be nice if someone had any idea about that.
Thank you
Alex
--
View this message in context: http://www.nabble.com/3D-Area-Diagram-tp17411317p17411317.html
Sent from the R help mailing list archive at
2008 Oct 31
4
Help needed with Waterfall plot
Hi friends,
I need suggestions/directions on how to producing a waterfall plot for present extend of change in tumour size for a set of respondents in a study. Example of use of waterfall plot is in the following slides presented at ASCO 2007 by Axel Grothey. Link is
2010 Feb 08
3
ggplot2 stacked line plot
Hi all,
I have been hunting around for hours trying to figure out how to
generate a stacked line chart using ggplot2. This type of chart can be
generated in excel 2007 by selecting: Chart type > Line > Stacked
line. I can generate a stacked area chart using the following code:
p <- ggplot2(~, aes(x = ~, y = ~, colour = Type)) +
geom_area(aes(position = 'stack', fill = Type))
2008 Mar 11
4
Graphing question (multiple line graphs arranged spatially)
station month bas
190 5 0.000
190 7 1.563
190 10 0.000
190 11 0.000
202 4 18.750
202 5 18.750
202 7 6.250
202 10 4.800
202 11 3.125
198 4 18.750
198 5 31.250
198 7 3.125
198 10 3.200
198 11 12.500
205 4 0.000
205 5 0.000
205 7 0.000
2011 Dec 30
3
vertically stacked area plot?
Dear all,
I would like to create a vertically stacked area chart in R. The data are
presented in the attached text file.
I would like to see the trend in values for the different groups with
sediment depth (that's why I would like to create a vertically stacked
chart; normally sed_depth should be = x, but I want it plotted on the
y-axis). In the packages available to create stacked area
2011 Aug 12
1
current.panel.limits() of lattice returning NaN limits - why?
Hi,
I need a custom axis function for a plot, but it seems
that current.panel.limits() sometimes returns NaN limits for the plot, which
it much harder to calculate anything sensible.
An illustration:
Given this axis function:
vs.axis <- function(...){
xlim <- current.panel.limits()$xlim
ylim <- current.panel.limits()$ylim
# Debug code
print(list(ylim=ylim,xlim=xlim))
2006 Jan 16
1
label of second y-axis in xyplot (lattice)
Dear group,
First I provide you with an example, I found in the newsgroup. Then I'd like to explain my problem to you by means of the output.
enviro <-
data.frame(Year = rep(2001:2002, each = 365),
Day = rep(1:365, 2),
Precip = pmax(0, rnorm(365 * 2)),
Temp = 2 + 0.2 * rnorm(365 * 2))
xyplot(Precip + Temp ~ Day | Year,
2009 Nov 27
1
problem tick marker and text
Hi R-ers,
I am struggling with my x-axis in a association plot. What I would like is
to place the labels of the x-axis between the tick markers and normally the
labels are printed at the place where the tick marker is placed. I don???t
want to move the tick marker (it gives the switch between one chromosome and
the next) but I just want to put the chromosome number in between the
2001 Aug 30
1
How to get ``nn%'' in axis values
I would like to make the print format of the axis value labels appear as
``nn%'' instead of just the numbers. Is there a way to do this?
Also, the x axis value labels on my horizontal barplot are rotated 90 degrees
(perpendicular to the axis) no matter what I do. I tried las=1 but that didn't
work. Is this doable?
Thanks.
$platform
[1] "i686-pc-linux-gnu"
$arch
[1]
2008 Oct 01
3
for loop question Documentation and its application for calculating euclidean distance on MDS ordination axis scores
?for doesn't return anything help.search("for") doesn't return anything-
Is the for loop so prevelant in computer programing that the
documentation is implicit or is R paradigm to discourage the use of
the for loop.
I will post data probably tonight, but here is my problem. I have
preformed an MDS on a set of data. I have the scores of the four axes
that
are the optimal
2006 Oct 02
2
xyplot Graphic Help
I have the following graphic where I drop unused factors in the x axis, however I cannot get the first point on the second panel. It seems shifted. Any ideas?
The example is below:
data <- data.frame(
Room=as.factor(c(132,132,132,132,132,132,132,132,132,196,196)),