Displaying 20 results from an estimated 400 matches similar to: "Plotting a polygon with xyplot"
2009 Apr 23
1
R 2.8.1 change user input color of R scrpt too
Hello R community
I'm using R 2.8.1 version and would like to change the color of user input
for script pages. Once I have changed the color of console background and
user input (by means of Interface Preferences menu), the color of script
background has been automatically changed but the color of user input has
not.
Has someone any useful advice for my (little) problem?
Thanks in
2011 Sep 15
1
Colour code y-axis labels on a dot plot
Dear R helpers
I would like to be able to colour code the y-axis labels on a complex dot
plot by a variable known as company (of which there are only two). The code
is below and data attached.
Thanks
MarkM
library("lattice")
library(latticeExtra) # for mergedTrellisLegendGrob()
# set size of the window
windows(height=10, width=7,rescale=c("fixed"))
##read the data to a
2011 Aug 19
2
Auto key legend does not match plot
Dear R-help members. I am an 'R-learner' (about 6 hours so far) using the
lattice library to create a ranked dotplot and am colour coding the dots by
a variable called "Commodity". However when i use autokey to make a legend
the size (cex) and symbol (pch) do not match what is on the dotplot.
Code is below and image attached
library("lattice")
Cal_dat <-
2011 Nov 23
2
Looping and paste
Dear R helpers
I'm trying to make up some labels for plot from this vector
BndY<-seq(from = 18900,to= 19700, by = 50)
using
Ylab<-for(i in BndY) {c((paste(i," to ",i+50,"mN")))}
but the vector created is NULL
However if i use
for(i in BndY) {print(c(paste(i," to ",i+50,"mN")))}
I can see the for loop is making the labels I'm looking for
2007 Aug 21
1
Domain Setup
Hello
First time setup for a Linux PDC. Have done several Micro$
Keep getting these errors smb conf in body. I did the group add scrpt
Not modfy as all the googiling I have found suggest.
Can anyone Help Please.
Thanks
Mike
Aug 21 21:24:37 ns2 smbd[14249]: create_builtin_users: Failed to create Users
Aug 21 21:24:37 ns2 smbd[14248]: [2007/08/21 21:24:37, 0]
2011 Sep 15
1
Move the main titel to the left of the plot
Dear R helpers
I wish to move the main title, which appears on a dotplot to be right
aligned with the left axis. Is there are parameter associated with dotplot
'main' that allows the title to be placed where I want it?
Code snippet relating to dotplot is below.
with(Cal_dat,
dotplot(reorder(paste(Mine,Company), Resc_Gt) ~ Resc_Gt,
fill_var = Commodity,
2011 Sep 15
1
Move the x-axis labels to the top of the dotplot
Dear R helpers
I would like to move the x-axis labels, which plot automatically at the base
of a dot plot to the top of the plot. Is there a way to do this?
Code snippet below
with(Cal_dat,
dotplot(reorder(paste(Mine,Company), Resc_Gt) ~ Resc_Gt,
fill_var = Commodity,
pch_var = factor(Year),
xlab_var = factor(Company),
pch = c(21, 22, 23),
2011 Aug 25
1
Sorting order of reorder with multiple variables
I've been building a ranked dot plot for several days now and am sorting the
data using the reorder command. What I don't understand is how reorder
works when mutiple varibles are plotted by grouping. In the example below
I'm using re-order to sort by a variable name Resv_Prop, but I'm plotting up
to three different values of Resv_prop (different Year values) for each
factor.
2011 Sep 01
1
Background fill and border for a legend in dotplot
Dear R help group
I've been working on this plot for a while now and now getting around to the
minor adjusments. I would like to be able to put a border and background
fill around the legend in this plot.
I understand the legend 'bty' should do this have this capablity but not
sure how the syntax works in this case
###### initalise
library("lattice")
2016 Jun 29
2
External mail attachments storage cleanup
Hi!
Thanks it worked! But only when I have a specific user instead wldcard (i mean -u *@example.org). Now I think I need to write a script that searches for users in the domain , and starts each of them this command . And apparently it is necessary to add to the cron job..
2011 Sep 16
1
Move the x label to the top of an lattice plot
Dear R helpers
With some help from R-help I've moved the x-scale to the top of a lattice
plot using...'alternating'
scales = list(x = list(log = 10),alternating=2),
but now I cannot seem to find a way to move the x-axis label to the top ?
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/Move-the-x-label-to-the-top-of-an-lattice-plot-tp3819397p3819397.html
2006 Sep 07
4
How to setup a sweeper to restart stale or hung mongrel servers
How do I setup a sweeper to restart stale or hung mongrel servers?
--
Jared Brown
jaredbrown at gmail.com
(765) 409-0875
7001 Central Ave
Indianapolis, IN 46220
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060907/0994017f/attachment.html
2010 Oct 14
6
Audiocodes firmware
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
<font size="+1">Does anyone have links to the most recent audiocodes
2006 Jun 11
2
Kerberos5 / Heimdal
I have FreeBSD-6.1 and it appears the default installation has a full
complement of Kerberos5. But, /usr/src/kerberos5/README states:
This subtree is world-exportable, as it does not contain any
cryptographic code.
At the time of writing, it did not even contain source code, only
Makefiles and headers.
Please maintain this "exportable" status quo.
Thanks!
2009 Feb 05
1
Does the "labpt" object in the Polygons-class represent the centroid of the polygon
Hello,
I need to calculate the centroids of some spatial polygons that I have
placed into a Polygons-class object. Is the labeling point in the
Polygons-class the centroid of the polygon?
Thank you for your help.
2007 Aug 13
0
Reading polygon shapefiles in splancs
Dear List,
I'm trying to import a multiple polygon shapefile in splancs. I've found the following command but it seems to work only for single polygons:
Name_of_splancs_polygon<-getPolygonCoordsSlot (getPolygonsPolygonsSlot(getSpPpolygonsSlot(name_of_sp_polygon) [[1]]) [[1]])
I've tried to change the numbers but it seams to choose polygons instead of importing them
2010 Feb 05
0
Plot point text labels over polygon w/o overlap?
Using pointLabel in the maptools package will plot text labels for points to avoid overlap of text.
But is there a way to avoid/minimize overlap of text labels with the outline of an underlying polygon?
For example, when plotting location of cities, one would like the text labels to not fall on top of nearby country/state borders, etc.
Many thanks,
Kevin Ummel
Central European University
2005 Sep 01
1
convex-polygon in scatter plot
Hello,
I am trying to draw a convex-polygon (envelope) connecting the outer points
(of a particular class) in a scatter plot
[which I want to do to illustrate the range of a particular type of samples
in an ordination plot].
Is there any function to plot this kind of polygon?
Kind regards
Zlatko Petrin
2007 Dec 17
1
polygon class in splancs package
Dear forum,
I would like to use the kernel2d or spkernel2d in the Splancs-package, but
it does not recognize my polygon data.
"Error in kernel2d(as.points(ptsbin), polygonprov, h0 = 2, nx = 100, : " is
the error message.
Invalid poly argument
The data are defined as follows:
polgonprov<-list(x=polyprov$X, y=polyprov$Y) with X and Y coordinates in the
Lambert1972
2011 Aug 03
0
Matplot & Polygon
I used matplot to plot multiple lines (over 300 lines). I'd like to draw a polygon and shade the area between upper and lower boundary.
I know the plot function works pretty well with polygon(). How about matplot? I have too many lines and my upper/lower boundaries are formed by many different lines. Matplot seems to be more efficient in plotting our all the lines...or perhaps I'm wrong