Questions tagged [triplot]

TriPlot is a trilinear-diagram plotting program for researchers and students. The goal of this program is to produce publication quality diagrams.

TriPlot is a trilinear-diagram plotting program for researchers and students. The goal of this program is to produce publication quality diagrams. Source: http://php.indiana.edu/~tthomps/programs/html/tnttriplot.htm

11 questions
24
votes
3 answers

three-way color gradient fill in r

How can I fill three way color gradient (heatmap) to a triplot (triangle plot), like…
jon
  • 11,186
  • 19
  • 80
  • 132
7
votes
2 answers

shaded triplot in r

I could figure out triplot using package klaR. ....... require(klaR) triplot(label = c("1, 2 or 3", "4 or 5", "6"), main = "die rolls: probabilities", pch = 17) I want to plot shaded triplot, so that I can show where particular point falls…
jon
  • 11,186
  • 19
  • 80
  • 132
3
votes
1 answer

R vegan RDA not all levels of constraint are displayed in triplot

In my RDA triplot I would like to display 'sites', 'species' and their constraints which in my case are Field and Trt. The problem is that not all levels of the constraints are displayed in the plot. There are two levels of each factor. My RDA code…
2
votes
1 answer

How to get the pure color filling for 'tripcolor' in matplotlib

The class 'tripcolor' in matplotlib gives a very powerful tool to create a contour-style plot for those 2D-triangles just like: plt.tripcolor(x,y,triangles,vars,cmap='PuOr') Though there are many types of defined colormaps for usage, but now I…
zgfu1985
  • 131
  • 6
1
vote
1 answer

How can I change the colour of my points on my db-RDA triplot in R?

QUESTION: I am building a triplot for the results of my distance-based RDA in R, library(vegan). I can get a triplot to build, but can't figure out how to make the colours of my sites different based on their location. Code below. #running the…
LeahF
  • 13
  • 3
1
vote
1 answer

how to specify edge colors with triplot

In the following example using matplotlib.triplot, how I can specify the edge colors to have color, say, 0xFFAC67? import matplotlib.pyplot as plt import matplotlib.tri as tri import numpy as np xy = np.asarray([ [0.2, 0.1], [0.9, -0.1], [1.2, 1.29]…
shuhalo
  • 5,732
  • 12
  • 43
  • 60
1
vote
0 answers

How can I label a triplot CCA?

I write you because I am wasting a lot of time trying to label my data “sites” in the triplot after the analysis of a Canonical correspondence analysis(CCA). My database consists on comparing two seasons (Season1 and Season2) with three different…
Sara Soria
  • 11
  • 2
0
votes
0 answers

Multiple triplot on one axis in matplotlib

I am trying to compare two meshes coming from two versions of the same numerical code. I would like to place both in the same axis of the same figure, but in the figure I can see just one of them, namely the last one plotted. Is it possible in…
0
votes
1 answer

RDA triplot in R- plot only numeric explanatory variables as arrows; factors as centroids

I ran a distance-based RDA using capscale() in the vegan library in R and I am trying to plot my results as a custom triplot. I only want numeric or continuous explanatory variables to be plotted as arrows/vectors. Currently, both factors and…
LeahF
  • 13
  • 3
0
votes
0 answers

RDA correlation triplot with vegan

I am trying to plot an RDA correlation triplot (using plot(rda_model)) using the vegan package in R, however I am confused about which 'scaling' to use. In Zuur (2007, Analysing Ecological Data), scaling refers to the power of the diagonal matrix…
Alex93
  • 1
  • 1
-1
votes
1 answer

convert 2 arrays into a matrix in python

I have a coordinates file which I read into a matrix in python. I want to create a delaunay triangulation and plot it with the coordinates joined together with lines. I have the following code which creates the delaunay but I am unsure how to plot…
Aspro
  • 45
  • 2
  • 7