Displaying 20 results from an estimated 800 matches similar to: "North Arrow (.png file) on a Map"
2008 Dec 04
2
Plotting a kriging on a map
Hi list,
Well, this time I’ve a doubt with mapping generation.
I was already able to read and plot shapefiles, plot point on this map. All
this without any problems, but now I want to do something that I think, only
Golden Software Surfer is capable of.
I would like to plot a kriging result on the existing map (map script
below). Well I looked for on the net, but I was not able to be sure of
2003 Apr 15
2
troubles with displaying legend on the plot
Dear colleagues,
I have troubles while trying to display legend on the plot.
I have data.frame fr
> fr
year M1 M2
1 1979 58.85198 56.77303
2 1980 57.59725 55.93749
3 1981 57.32133 55.55232
4 1982 54.69320 53.10566
5 1983 56.58973 55.03811
6 1984 58.81363 56.97641
7 1985 58.35583 56.82091
8 1986 60.41842 58.45457
9 1987
2006 Apr 28
2
How to get a grid behind a boxplot
I am using R 2.2.1 on a Windows 2000 PC.
When I do a grid() after the boxplot
it overprints the boxplot:
> boxplot(count ~ spray, data = InsectSprays, col = "lightgray")
> grid(nx=NA, ny=NULL)
>
if I try the panel.first
> boxplot(count ~ spray, data = InsectSprays, col = "lightgray",
+ panel.first=grid(nx=NA, ny=NULL))
>
I can see the grid flash
2009 Jun 24
1
parallel rotated strips with color gradient
Hi,
I want to produce two parallel rotated strips with color gradient. So
far, the sample strip is something produced by this:
pushViewport(viewport(x = unit(0.638, "npc"), y =unit(0.386, "npc"),
width=.62, height=0.006, angle=137.2))
grid.rect(y=100:1/100, just="top",
gp=gpar(col=NA,
fill=colorRampPalette(c("lightgray",
2009 Jun 25
3
grid.polygon() + color gradient
Hi,
I wonder whether there is a way to generate a polygon (a triangle in
my case) with color gradient using grid.polygon() in package grid?
I tried something like
library(grid)
grid.polygon(x=c(0, 0.5, 1), y=c(0.5, 1, 0.5), gp=gpar(col=NA,
fill=colorRampPalette(c("green", "lightgray"),
space="Lab")(200)))
But am only
2006 Aug 04
2
Doubt about Student t distribution simulation
Dear R list,
I would like to illustrate the origin of the Student t distribution using R.
So, if (sample.mean - pop.mean) / standard.error(sample.mean) has t
distribution with (sample.size - 1) degree free, what is wrong with the
simulation below? I think that the theoretical curve should agree with
the relative frequencies of the t values calculated:
#== begin options=====
# parameters
2017 Jun 14
0
Plot MArginal distribution in the correct place
Hi Pedro,
If you keep that same margins for the second plot:
par(mar=c(10,0,6,6))
barplot(fhist$counts,axes=FALSE, space=0,horiz=TRUE,col="lightgray")
it looks reasonably well aligned to me. Because you are plotting the
counts of the values in Simulation, the ordinate (vertical axis) of
the bar plot is in quite different units from that of the plot on the
left side.
Jim
On Wed, Jun
2017 Jun 14
2
Plot MArginal distribution in the correct place
Please can you send me some orientation?
Many thanks in advance.
Only if posible one book o similar example to understand why it is not what
I try.
El 8 jun. 2017 7:50 PM, "Pedro p?ramo" <percentil101 at gmail.com> escribi?:
> Many thanks Jim.
>
> What I,m trying to show with the fhist plot is the empirical distribution
> of the values of the left plot simulation.
2017 Jun 08
0
Plot MArginal distribution in the correct place
Many thanks Jim.
What I,m trying to show with the fhist plot is the empirical distribution
of the values of the left plot simulation.
You say:
However, I don't think that this plot illustrates quite what you think it
does.
Can you give me a clue to try to illustrate better if it is not showing
what I believe it shows a better way to show it?
Many thanks in advance.
El 7 jun. 2017
2017 Jun 07
2
Plot MArginal distribution in the correct place
Hi Pedro,
As a one-off, you just shove the coordinates around a bit:
par(mar=c(11,0,6,6))
barplot(fhist$counts,axes=FALSE, space=0,horiz=TRUE,col="lightgray",
ylim=c(0,24))
However, I don't think that this plot illustrates quite what you think it does.
Jim
On Wed, Jun 7, 2017 at 4:01 PM, Pedro p?ramo <percentil101 at gmail.com> wrote:
> Please, I'm trying to put
2003 Jul 22
4
greek in main title
Hello,
I have written a function that demonstrates the CLT by
generating samples following the exponential distribution,
calculating the means, plotting the histogram, and drawing
the limiting normal curve as an overlay. I have the title
of each histogram state the sample size and rate (1/theta)
for the exponential (the output is actually 4 histograms),
but I can't get the greek letter theta
2017 Jun 17
1
Plot MArginal distribution in the correct place
Can you suggest a plot on the right side so that the right plot has the
same units of left plot and reflect the counts of the number of time the
values repeat, something like the empirical distribution?
2017-06-14 12:30 GMT+02:00 Jim Lemon <drjimlemon at gmail.com>:
> Hi Pedro,
> If you keep that same margins for the second plot:
>
> par(mar=c(10,0,6,6))
>
2012 Feb 03
1
incomplete final line found on <name of my sourced function file>
Dear R-ers,
I hope there is a really simple solution to my problem.
I've written a function that I saved in an .r file. I source this file
in my code. For a while it worked fine. But then when I run the line:
source("F mylineplot.r")
I started getting a warning:
In readLines(file) : incomplete final line found on 'F mylineplot.r'
I have no idea why - I tried to check and
2010 Oct 04
1
reducing distances between tickmarks
Hello, everybody!
I have a code below that creates a data set and then a stacked bar
chart based on that data set.
No need to look at it - just notice please that my horizontal axis is
a date varible (x=my.data$date).
I have a question about the last 2 lines of this code:
grid(nx=NULL,ny=NULL,col = "lightgray", lty = "dotted",lwd = par("lwd"))
axis(1, las = 2)
Could
2017 Jun 06
2
Plot MArginal distribution in the correct place
Hi all,
I have this code, but the marginal distribution plot doesn?t appear aligned
with the left plot.
I think could be something about layout or par() mar.
The code was programmed by me time ago.
Can anyone help me to get the marginal distribution on the center (more
higher centered)
id.txt
Could have this code:
05/01/2016;9335,200195
06/01/2016;9197,400391
07/01/2016;9059,299805
2018 Jan 05
4
incluir las replicas en anova
Hola.
Estoy realizando una ANOVA con la función lm()
El ensayo tiene 3 réplicas por tratamiento y no se cómo incluir estas
réplicas en la función lm().
Gracias por vuestra ayuda
Yesica
[[alternative HTML version deleted]]
2017 Jun 07
0
Plot MArginal distribution in the correct place
Please, I'm trying to put the right plot higher and centered on the left
values but I don't achive.
I would appreciate so much your help
El 6 jun. 2017 22:37, "Pedro p?ramo" <percentil101 at gmail.com> escribi?:
> Hi all,
>
> I have this code, but the marginal distribution plot doesn?t appear
> aligned with the left plot.
>
>
> I think could be
2009 Nov 13
0
Rarefaction Curve by Individuals not Sites - vegan (specaccum)
Hi List,
I’m using the vegan function specaccum to produce a rarefaction curve. In
the function’s help it says: “Function ‘specaccum’ finds species
accumulation curves or the number of species for a certain number of sampled
sites or individuals”. Well, I would like to finds this curve for
individuals, but when I compute it the function (using the ‘rarefaction’
method) gives me Sites, Richness
2007 Sep 20
1
help with making a function of scatter plot with multiple variables
Dear list,
I have done a scatter plot of multiple variables in the same graph, with different col and pch. I managed to do it with the following code but not know how to make a function of these so that next time if I want to do similar graph but with new variables, I dont have to copy the code and then change the old variables with the new ones but just call a function with the new
2008 Jun 05
2
Y values below the X plot
Dear List,
I am creating a plot and I want to insert the tabular data below the X axis.
I mean for every value of X I want to show the value in Y as a table below
the plot. I think the attached image gives an idea of what I mean by this.
Below is the code i am using now... but as you see the Y values don't have
the right location. Maybe I should insert them as a table? Any ideas on
that.