Displaying 20 results from an estimated 700 matches similar to: "Plot OctTree"
2017 Dec 20
2
outlining (highlighting) pixels in ggplot2
Using the small reproducible example below, I'd like to know if one can
somehow use the matrix "sig" (defined below) to add a black outline (with
lwd=2) to all pixels with a corresponding value of 1 in the matrix 'sig'?
So for example, in the ggplot2 plot below, the pixel located at [1,3] would
be outlined by a black square since the value at sig[1,3] == 1. This is my
first
2017 Dec 20
0
outlining (highlighting) pixels in ggplot2
Hi Eric,
you can use an annotate-layer, eg
ind<-which(sig>0,arr.ind = T)
ggplot(m1.melted, aes(x = Month, y = Site, fill = Concentration), autoscale
= FALSE, zmin = -1 * zmax1, zmax = zmax1) +
geom_tile() +
coord_equal() +
scale_fill_gradient2(low = "darkred",
mid = "white",
high = "darkblue",
2017 Dec 20
1
outlining (highlighting) pixels in ggplot2
I apprecaite the guidance Eik, that works great! I'm also wondering if you
have any pointers for how I might stretch the color scale so that the max
and min values are the same? Right now, the min is -0.064 and the max is
something closer to 0.04. As you can see in what I sent, I tried adding:
zmax1 = max(abs(m1))
ggplot(..., autoscale = FALSE, zmin = -1 * zmax1, zmax = zmax1) + ...
to
2012 May 03
2
Help with readBin
I'm trying to read a binary file created by a fortran code using readBin
and readChar. Everything reads fine (integers and strings) except for
double precision numbers, they are read as huge or very small number
(1E-250,...). I tried various endianness, swap, But nothing has worked so
far.
I also tried on R 64 bit for linux and windows (R 2.14) and R 2.11 on
windows XP 32 bit.
Any help would
2014 Jun 15
0
[PATCH v2 1/3] nvc0: implement multiple viewports/scissors, enable ARB_viewport_array
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
---
src/gallium/drivers/nouveau/nvc0/nvc0_context.h | 7 +-
src/gallium/drivers/nouveau/nvc0/nvc0_program.c | 2 +-
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 20 ++--
src/gallium/drivers/nouveau/nvc0/nvc0_screen.h | 3 +
src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 27 +++--
2014 Jun 15
4
[PATCH v2 0/3] ARB_viewport_array for nvc0
This patch-series implements the ARB_viewport_array for nvc0 and does
a little house-cleanig afterwords.
V2:
Add Release-Notes, mark this in GL3 as done for nvc0
Don't mark the scissors dirty when we don't need to do that
Tobias Klausmann (3):
nvc0: implement multiple viewports/scissors, enable ARB_viewport_array
docs: update GL3.txt, relnotes: mark GL_ARB_viewport_array as done
2014 Jun 14
0
[PATCH 1/3] nvc0: implement multiple viewports/scissors, enable ARB_viewport_array
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
---
src/gallium/drivers/nouveau/nvc0/nvc0_context.h | 7 +-
src/gallium/drivers/nouveau/nvc0/nvc0_program.c | 2 +-
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 20 ++--
src/gallium/drivers/nouveau/nvc0/nvc0_screen.h | 3 +
src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 27 ++++-
2014 Jun 14
7
[PATCH 0/3] ARB_viewport_array for nvc0
This patch-series implements the ARB_viewport_array for nvc0 and does
a little house-cleanig afterwords.
Tobias Klausmann (3):
nvc0: implement multiple viewports/scissors, enable ARB_viewport_array
nvc0: mark scissor in nvc0_clear_{}
nv50/ir: Remove NV50_SEMANTIC_VIEWPORTINDEX and its last consumer
.../drivers/nouveau/codegen/nv50_ir_driver.h | 1 -
2009 Mar 27
1
interactive image graphic
Dear All
I want to plot a kind of figures, which can interactive with user.
For example, i have a matirx which can be showed by image function.
i.e. we can compare the value depend on different colors.
However, the change of colors depend on the range of value.
Nowaday, i want to set a bar, which can be moved by user such that the
user can obtain the appropriate range.
Does anyone suggest me which
2008 Jan 07
7
rainbow function
Hello
I'm using rainbow function to generate 10 colors for the plot and it is
difficult to tell the neighboring colors from each other. How can I make
the colors more differently.
Thanks
Zhaoming
[[alternative HTML version deleted]]
2014 Feb 04
2
[PATCH 1/3] nv50: rework primid logic
Functionally identical but much simpler. Should also better integrate
with future layer/viewport changes/fixes.
Cc: 10.1 <mesa-stable at lists.freedesktop.org>
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
Not *strictly* necessary in stable, but it will make backporting later fixes
easier. No regressions in piglit.
src/gallium/drivers/nouveau/nv50/nv50_program.c | 5
2005 Jul 21
3
heatmap color distribution
Hi all,
I've got a set of gene expression data, and I'm plotting several
heatmaps for subsets of the whole set. I'd like the heatmaps to have
the same color distribution, so that comparisons may be made
(roughly) across heatmaps; this would require that the color
distribution and distance functions be based on the entire dataset,
rather than on individual subsets. Does
2000 Jan 17
1
lwd patches for "contour"
I found it useful to have contour be able to do line widths ... hope
that the guts haven't changed an enormous amount in the current
development version ... the patches are relatively trivial, mostly going
by analogy with lty and col (although in my ignorance it took me a while
to figure out what UNPROTECT(2) was and why it should be changed to
UNPROTECT(3) ... hope this is useful.
Ben
2007 Aug 02
2
lasso/lars error
I'm having the exact problem outlined in a previous post from 2005 -
unfortunately the post was never answered:
http://tolstoy.newcastle.edu.au/R/help/05/10/15055.html
When running:
lm2=lars(x2,y,type="lasso",use.Gram=F)
I get an error:
Error in if (zmin < gamhat) { : missing value where TRUE/FALSE needed
...when running lasso via lars() on a 67x3795 set of predictors. I
2011 Mar 24
2
Using C code in R
Hi,
I am new to R and I want to know how to use C code which contains two
functions one called inside another.I know that how to use C code in R if it
has only one function but dont know how to do it in above case. I want to
use the same in R .My C code is as follows.
//#include <R.h>
void sayHello();
void g();
void sayhello() {
Rprintf("Hello world %d\n",global);
}
void
2011 Feb 02
1
Function to locate points in 3d octants or points on two axes
[Sorry, resending with a proper subject line!]
Hi Guru's...
I have a set of points that may lie along any of the x, y and z axes
in a Cartesian coordinate system. I am hoping that a function exists
which will determine if any two selected points are on different axes,
i.e, if the one of the points is on x and the other on y or z, not
elsewhere on the x axis. Put another way, I need
2011 Mar 28
1
Points on Map
Hi,
I am new to R and I want to plot points on the Map of New York . I also
want to divide map of New York into small grids(not fixed) .I want that
these point should be plotted from a file.How can I do it?Any help would be
greatly appreciated.
Thanks
Jaimin
[[alternative HTML version deleted]]
2011 Apr 05
1
Grid on Map
I am new to R.I want to draw grid from a csv file which contains latitude
minimum ,latitude maximum ,longitude minimum ,longitude maximum.The grid
should be divided into exactly 4 quadrants. The map is of NY state of USA. I
want to know how can I do it.
Help would be appreciated.
Thanks
Jaimin
[[alternative HTML version deleted]]
2011 Feb 20
1
QuadTree
Could any one tell me how to implement QuadTree in R?
Or are there any packages avaialble to implement it in R.
[[alternative HTML version deleted]]
2011 Jun 12
1
Pointers in R
Hello Everyone,
I am new to R and would like to create a quad tree in R. However the problem
is that I don't think R has pointers. Is there any way to create a tree in
R?
Thanks
[[alternative HTML version deleted]]