Displaying 16 results from an estimated 16 matches for "map1".
Did you mean:
map
2011 May 18
1
Overlaying maps
I'm having difficulty overlaying maps when writing to a file graphics
device. My command sequence has the structure
plot(map1)
par(new = T)
plot(map2)
On the screen device, it works fine. When I attempt something like
png(file = "map.png")
plot(map1)
par(new = T)
plot(map2)
dev.off()
only the last map appears, the previous ones having been cleared. Can
someone clarify?
Thanks,
Michael Laviolette PhD MPH
New...
2011 Jun 07
1
error with geomap in googleVis
Hi All,
I am unable to get the plot geomap in googleVis package. data is as follows
> head(index.ret)
country ytd
1 Argentina -10.18
2 Australia -3.42
3 Austria -2.70
4 Belgium 1.94
5 Brazil -7.16
6 Canada 0.56
> map1 = gvisGeoMap(index.ret,locationvar = 'country', numvar = 'ytd')
> plot(map1)
But it just displays a blank page, showing an error symbol at the right
bottom corner. I tried demo(googleVis), it also had a similar problem. The
demo showed all other plots/maps except for those geom...
2006 Oct 06
13
Need some help with latest win32-mmap
Hi all,
I''ve got the latest win32-mmap code checked into CVS. Unfortunately, it
seems that I''m not able to open an existing mapping and retrieve set
data. Below is a simple example that seems like it ought to work but
doesn''t. Any ideas?
# map1.rb
require ''win32/mmap''
include Win32
mmap = MMap.new(:name => ''alpha'', :size => 20)
p mmap.address
mmap.test = "hello"
mmap.close
# map2.rb
# mmap = MMap.open(''alpha'') # Boom!
mmap = MMap.new(:name => ''alpha'...
2012 Jan 27
1
Overimposing one map in ssplot onto another
Hello!
I have 2 maps - both created in ssplot and both identical in terms of
outline. Is there any way to superimpose Map1 (which has black borders
between Canadian provinces) onto Map2 (which is also a map of Canada)?
Thanks a lot for your hints!
Dimitri
### A. Reading in Canada data at the province and then at the county level:
library(raster)
getData('ISO3') # Canada's code is "CAN"
can1<-...
2004 May 03
1
Speed up graphics output?
...;c:\\data\\region2.shp", dbf.data = TRUE)
y <- read.shape("c:\\data\\region3.shp", dbf.data = TRUE)
z <- read.shape("c:\\data\\region4.shp", dbf.data = TRUE)
#Loop through the clusters and produce maps of each region
#The base maps stay the same with the exception of map1
#which has the title of Cluster # and the points which
#reflect the current cluster.
#Subset data on cluster
for(i in 1:ClusCount){
mapit <- subset(datain, cluster == i)
screen(1)
plot(w, xlab="", ylab="", fg="white", axes = F, main=paste("Cluster",i)...
2008 Aug 19
2
how to import from SPSS without shortening variable names
Hello,
as I import '.sav' files from SPSS, the variable names are shortened to
8 uppercase characters:
"sex_of_therapist" will become "SEX_OF_TH"
Is there a way around this? How can I retrieve the full names?
Greets from Southern Germany,
Timo Stolz
2011 Aug 16
1
PBSmapping, where is Ireland?!
...39;worldLL' PolyData, as my computer is too slow to make my own
from the GSHHS files.
The only problem is this PolyData does not seem to include Ireland. I have
no idea why this should be so, other European islands such as Sardinia etc.
are included. http://r.789695.n4.nabble.com/file/n3747120/map1.jpeg
The code I've been using is:
data(worldLL)
plotMap(worldLL, polyProps=NULL, xlim=c(-20,36.5), ylim=c(30,71),
projection=1, plt=c(0.16, 0.97, 0.16, 0.97) ,col=0,bg=0)
Any help would be appreciated,
Cheers,
Ewan
--
View this message in context: http://r.789695.n4.nabble.com/PBSmapping...
2007 Apr 25
2
[LLVMdev] Work in progress patch to speed up andersen's implementation
...f this increment moves us into the
next word. */
start_bit += !bi->bits;
*bit_no = start_bit;
}
/* Initialize an iterator to iterate over the intersection of two
bitmaps. START_BIT is the bit to commence from. */
static inline void
bmp_iter_and_init (bitmap_iterator *bi, bitmap map1, bitmap map2,
unsigned start_bit, unsigned *bit_no)
{
bi->elt1 = map1->first;
bi->elt2 = map2->first;
/* Advance elt1 until it is not before the block containing
start_bit. */
while (1)
{
if (!bi->elt1)
{
bi->elt2 = NULL;
break;
}
if (b...
2006 Oct 13
2
win32-mmap - trying to marshal self
...9;t seem to work.
For the getter in method_missing I simply did:
marshal = Marshal.dump(self)
For the getter in method_missing I did:
obj = memcpy(buf, @address, @size)
val = object.send(obj.to_sym)
instance_variable_set("@#{method}", Marshal.load(val))
But when I run the map1.rb and map2.rb scripts again, I get errors (and beeping!) with odd characters no less:
C:/Documents and Settings/djberge/workspace/win32-mmap/lib/win32/mmap.rb:334:in `send'': undefined method o:?Win32::MMap?
@inheriti'' for nil:NilClass (NoMethodError)
from C:/Documents an...
2014 Dec 16
0
[ANNOUNCE] nftables 0.4 release
...according to the space-time tradeoff, eg. optimize memory:
# nft add set filter set1 { type ipv4_addr ; policy memory ; }
Or optimize performance:
# nft add set filter set1 { type ipv4_addr ; policy performance ; }
You can also use this in maps:
# nft add map filter map1 { type ipv4_addr : verdict ; policy performace ; }
And indicate the expected size to assist the set selection routine:
# nft add set filter set1 { type ipv4_addr ; size 1024 ; }
* Complete reject support (available for ip, ip6 and inet since 3.14.
bridge support and the icmpx abstrac...
2017 Jun 14
4
LLD support for mach-o aliases (weak or otherwise)
> On Jun 14, 2017, at 2:47 PM, Michael Clark via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
>>
>> On 15 Jun 2017, at 6:50 AM, Louis Gerbarg <lgerbarg at apple.com <mailto:lgerbarg at apple.com>> wrote:
>>
>>>
>>> On Jun 6, 2017, at 4:08 PM, Michael Clark via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at
2024 Jul 16
0
[ANNOUNCE] nftables 1.1.0 release
...o 6 tproxy ip to 127.0.0.1:symhash mod 2 map { 0 : 8000, 1 : 8010 }
- Listing meta hour with negative time offset
TZ=UTC-4 nft add rule x y meta hour ?22:00?
- Byteorder conversion with {ct,meta} statements
map mapv6 {
typeof ip6 dscp : meta mark;
}
meta mark set ip6 dscp map @map1
# resulting bytecode:
[ payload load 2b @ network header + 0 => reg 1 ]
[ bitwise reg 1 = ( reg 1 & 0x0000c00f ) ^ 0x00000000 ]
[ byteorder reg 1 = ntoh(reg 1, 2, 2) ]
[ bitwise reg 1 = ( reg 1 >> 0x00000006 ) ]
[ lookup reg 1 set mapv6 dreg 1 ]
[ meta set mark wi...
2017 Oct 12
0
[ANNOUNCE] nftables 0.8 release
...available in the
iptables connbytes match.
eg. match average pkt in both directions:
# nft add rule x y ct avgpkt gt 100
eg. match avgpkt in original direction:
# nft add rule x y ct original avgpkt gt 200
* Allow to flush maps and flow tables, eg.
# nft flush map filter map1
# nft flush flow table filter ft-https
* Allow to embed set definition into an existing set, eg.
# nft -f ruleset.nft
define myset = {
1.1.1.0,
2.2.2.0,
}
add rule ip saddr { $myset, 3.3.3.0 }
And scripting like now works too:
define dnat_po...
2020 Nov 03
45
[patch V3 00/37] mm/highmem: Preemptible variant of kmap_atomic & friends
Following up to the discussion in:
https://lore.kernel.org/r/20200914204209.256266093 at linutronix.de
and the second version of this:
https://lore.kernel.org/r/20201029221806.189523375 at linutronix.de
this series provides a preemptible variant of kmap_atomic & related
interfaces.
This is achieved by:
- Removing the RT dependency from migrate_disable/enable()
- Consolidating all
2020 Nov 03
45
[patch V3 00/37] mm/highmem: Preemptible variant of kmap_atomic & friends
Following up to the discussion in:
https://lore.kernel.org/r/20200914204209.256266093 at linutronix.de
and the second version of this:
https://lore.kernel.org/r/20201029221806.189523375 at linutronix.de
this series provides a preemptible variant of kmap_atomic & related
interfaces.
This is achieved by:
- Removing the RT dependency from migrate_disable/enable()
- Consolidating all
2020 Nov 03
45
[patch V3 00/37] mm/highmem: Preemptible variant of kmap_atomic & friends
Following up to the discussion in:
https://lore.kernel.org/r/20200914204209.256266093 at linutronix.de
and the second version of this:
https://lore.kernel.org/r/20201029221806.189523375 at linutronix.de
this series provides a preemptible variant of kmap_atomic & related
interfaces.
This is achieved by:
- Removing the RT dependency from migrate_disable/enable()
- Consolidating all