Displaying 20 results from an estimated 600 matches similar to: "ternary contour plot"
2008 Jul 11
1
Plot multiple datasets on a VCD ternary graph
I need to plot multiple sets of data, on one Ternary plot (from the VCD
package). Since they all need to be formatted differently, I can't just
coerce them into one matrix, I need three separate calls. Is there a way to
do this? Thanks
--
View this message in context: http://www.nabble.com/Plot-multiple-datasets-on-a-VCD-ternary-graph-tp18412092p18412092.html
Sent from the R help mailing
2008 Sep 04
1
A ternary graph's scales
Hi all,
I am drawing a ternary graph. Everything is fine with both ternaryplot
(package vcd) and triangle.plot (package ade4), but I want to present
scales in neither percents nor from 0 to 1 (this is actually the only
option I found in both functions). I want the scales to be in a
natural scale (from 0 to k, k being the number of objects). Is it at
all possible? (Descriptions of both functions
2010 Feb 16
3
Triangular filled contour plot
Hi all,
I am working on a filled contour plot which shows a triangular matrix data
set (as shown below). Is there a possibilty to draw a triangular filled
contour in a equilateral triangle (like a ternary plot)?
Thanks in advance
Johannes
http://n4.nabble.com/file/n1557386/Bild3.png
--
View this message in context: http://n4.nabble.com/Triangular-filled-contour-plot-tp1557386p1557386.html
2011 Aug 06
1
multcomp::glht() doesn't work for an incomplete factorial using aov()?
Hi R users,
I sent a message yesterday about NA in model estimates (
http://r.789695.n4.nabble.com/How-set-lm-to-don-t-return-NA-in-summary-td3722587.html).
If I use aov() instead of lm() I get no NA in model estimates and I use
gmodels::estimable() without problems. Ok!
Now I'm performing a lot of contrasts and I need correcting for
multiplicity. So, I can use multcomp::glht() for this.
2013 Jun 16
1
trying to fit a thin plate spline to a triangular plot
Hi
Has anyone tried to fit a thin plate spine to a triangular plot before? I'm having trouble working out a piece of code to make it possible with three axes. I have done it before with two axes.
I've found a package I prefer that makes triangular plots (plotrix) using the triax.plot() function. An example of some data and the plot follows:
graph.data<-data.frame(a=c(9,6.2,
2011 Jun 02
4
Use line break at scrip but avoid line break on graphics
Hello list,
I have plots with long strings in main=, ylab= or xlab=. So, in I my script
I use break long lines to avoid lines hiden on my monitor and in sweave
document pages. I use graphics like this
plot(1, main="aaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbb")
but I would like a plot result like this
plot(1, main="aaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbb")
I
2010 Mar 17
1
Cropped graph using lattice
I'm fitting data from a mixture experiment, and I'd like to present the results in a ternary graph with contours. I found this code by Walmes Zeviani
http://n4.nabble.com/Triangular-filled-contour-plot-td1557386.html
which is just what I want--except I would like the axis titles and labels to be proportionately larger than the ternary graph itself, for legibility in publication. When I
2012 Apr 11
1
Lattice densityplot with semitransparent filled regions
Hello,
I'm doing some graphics for a paper and a need customize such with filled
region above the density curve. My attempts I get something very near what
I need, but I don't solve the problem of use semitransparent filled. Below
a minimal reproducible code. Someone has any idea?
require(lattice)
# toy data...
dt <- expand.grid(A=1:2, B=1:3, y=1:50)
dt$y <- rnorm(nrow(dt), dt$B,
2008 Jun 09
3
piper diagram
Hi,
Is anyone on the list familiar with an R implementation of Piper Diagrams?
Example:
http://faculty.uml.edu/nelson_eby/89.315/IMAGES/Figure%209-78.jpg
I am thinking that two calls to triax.plot (plotrix) along with some kind of
affine-transformed standard plot would do the trick. Not so sure about the
final layout, or a nice generalized version for something like lattice.
Cheers,
Dylan
2011 Jun 01
1
xtable with conditional formatting using \textcolor
Hello list,
I'm doing a table with scores and I want include colors to represent status
of an individual. I'm using sweave <<results=tex>>= and xtable but I can't
get a result I want. My attemps are
#-----------------------------------------------------------------------------
# code R
da <- data.frame(id=letters[1:5], score=1:5*2)
col <- function(x){
2012 Apr 20
1
Ternaryplot as an inset graph
Hello
I am trying to add a ternary plot as a corner inset graph to a larger
main ternary plot. I have successfully used add.scatter in the past for
different kinds of plots but It doesn't seem to work for this particular
function. It overlays the old plot rather than plotting as an inset.
Here is a simple version of what I'm trying. Note that if I change the
inset plot to be an ordinary
2009 Jul 29
1
Showing time progression on (triangle) plots
Hi,
I have made some nice triangle plots showing the projected airborne,
landborne and oceanborne fraction of anthropogenic emitted carbon dioxide
at 10 year intervals for the next century.
Currently all ten points on my plot are identical so I can't distinguish
between them. I would like to be able to track the trend as the century
progresses.
How can I show the time progression on the
2011 Aug 06
1
How set lm() to don't return NA in summary()?
Hi,
I've data from an incomplete fatorial design. One level of a factor doesn't
has the levels of the other. When I use lm(), the summary() return NA for
that non estimable parameters. Ok, I understant it. But I use
contrast::contrast(), gmodels::estimable(), multcomp::glht() and all these
fail when model has NA estimates. This is becouse vcov() and coef() has
different dimensions. Is
2010 Feb 17
2
How to provide a result from D(f(x), "x") to a curve(f'(x)) ???
Hi all,
I want to provide the result from D() to curve(), because I want to plot the k-th derivative of some functions. Actually, I copy from console the result given by D() and paste inside curve(). With a lot of functions and high degree differentiation this process is tedious. Can I provide directly??
# what I actually have done (very simple function)
D(expression(x^3), "x") # copy
2003 Jul 15
2
R, geochemistry, ternary diagrams
I'm in e-mail contact with a geochemist who maintains a well regarded
geochemistry web site. He's drawing diagrams either with a Turbo Pascal
program running in a DOS window or with Excel. I'm trying to persuade
him that R would be a better choice. Something he's particularly keen
on is ternary diagrams. I think he is talking about ternary phase
diagrams, and if so, it looks as
2010 May 26
1
Is possible a mini-plot into a big plot with Lattice?
Hello,
I want to do with Lattice functions (qqmath, histogram) a figure like this below.
n <- 1000
x <- rnorm(n)
qqnorm(x); qqline(x)
op <- par(fig=c(.02,.5,.5,.98), new=TRUE)
hist(x, xlab="", ylab="", main="", axes=FALSE)
box()
par(op)
Is possible?
Thanks.
Walmes Zeviani.
_________________________________________________________________
2010 Feb 20
1
How get the single bar x coordinate in barchart when groups is used?
Hi all,
I am using barchart() to plot values above the bars. When using groups argument we get bars grouped arround a given x level. By placing values above this bars we need to know the respective x coordinates. How can I get it?
require(lattice)
da <- expand.grid(x=1:5, z=1:3, w=1:2)
da$y <- rpois(da$x, lambda=23)
barchart(y~x|w, groups=z, data=da, horizontal=FALSE,
2012 Jun 04
1
Ternary plot and filled contour
Dear R-Users, I'd like to have some tips for a ternaryplot ("vcd").
I have this dataframe:
a<- c (0.1, 0.5, 0.5, 0.6, 0.2, 0, 0, 0.004166667, 0.45) b<- c (0.75,0.5,0,0.1,0.2,0.951612903,0.918103448,0.7875,0.45) c<- c (0.15,0,0.5,0.3,0.6,0.048387097,0.081896552,0.208333333,0.1) d<- c (500,2324.90,2551.44,1244.50, 551.22,-644.20,-377.17,-100, 2493.04)
2014 Oct 14
2
Ternary Plots Do Not Display Ellipses in PDF
A rather strange situation here and I've not found the source of the
problem.
The point is to print a ternary plot matrix of compositional data with
ellipses enclosing 95% of the variance in each plot. The ellipses display on
the monitor, dev = x11cairo (see attached winters-x11cairo.pdf), but not when
sent directly to a file, dev = pdf (see attached winters-pdf.pdf).
Here's
2020 Sep 22
1
[PATCH] kernel/resource: Fix use of ternary condition in release_mem_region_adjustable
Clang warns:
kernel/resource.c:1281:53: warning: operator '?:' has lower precedence
than '|'; '|' will be evaluated first
[-Wbitwise-conditional-parentheses]
new_res = alloc_resource(GFP_KERNEL | alloc_nofail ? __GFP_NOFAIL : 0);
~~~~~~~~~~~~~~~~~~~~~~~~~ ^
kernel/resource.c:1281:53: note: place parentheses around the '|'