Displaying 6 results from an estimated 6 matches for "barheights".
Did you mean:
barheight
2003 Feb 24
2
fill prob. in legend
Hi,
I'm trying to construct a legend which has four lines of text and associated
symbols. The first two symbols need to be normal lines which vary only in
colour. The second two symbols should have filled boxes. How do I suppress
the fill boxes in the first two lines?
J.
2008 Oct 24
1
Automatically adjust text size in plot
Hi all,
I'm writing a function that will automatically generate a report based
on answers to a questionnaire. The exact questions and answers to the
questionnaire can vary. One of the question types is in a "matrix"
format, where the agreement to several statements can be indicated on
a scale.
I'm planning to plot this on a multilevel barplot, and only labeling
each "bar
2017 Jul 05
1
How can I make the legend in ggplot2 the same height as my plot?
Hi R Users,
I tried to increase the legend height in ggplot2, but it did not respond at all using the follwoing code. Do you have any suggestions for me?
dat<-data.frame(temperature)
P1<-ggplot(dat, aes(X, Y))
Scenario1<-P1+geom_point(aes(colour = value), size = 1)+ theme_bw()+ theme(axis.text.x = element_blank(),axis.text.y = element_blank())
2008 Sep 27
2
multiple plots - editing ggplot2 plot
Hi All,
I am trying to build a composite plot, with multiple categories, using
ggplot2.
In principle, it could be done using facetting, but I do not seem to be able
to get past the defaults, so I try building each plot separately, then
putting them all together using frameGrob and placeGrob.
For this, I need to know how to:
1) format the legend with a different layout (e.g 2 rows by 2 columns,
2002 Dec 12
3
y axis on hist
Hi:
The y axis on the hist function seems to set its limits oddly.
sometimes, it covers the full range of the data and sometimes it stops
one major tick short. I have had this behavior with a variety of data
sets, and it can easily be reproduced by just running the following
several times:
hist(rnorm(100000))
I have tried explicitly setting ylim to the range of values produced by
rnorm
2013 Mar 25
2
Plot Matrix with Data
Hi ,
I would like to use ggplot2 to plot a matrix as an image.
You can copy paste the following
Data<-matrix(data=rnorm(900,80,20),nrow=30,ncol=30)
lengthOut<-5
Lengths<- 15
library(reshape2)
library(ggplot2)
tdm <- melt(Data)
ggplot(tdm, aes(x = Var2, y = Var1, fill = factor(value)),levels=seq(0,1,by=0.1)) +
labs(x = "MHz", y =