triplot

From DavinciWiki
Jump to: navigation, search

Description

Plot a triplet of numbers on a ternary (triangle) plot

Arguments and Return Values

Arguments: numeric arrays and strings

Return Value: none. GnuPlot is launched and displays graph.

Usage

Syntax: triplot(top corner, left corner, right corner [,tlabel=STRING] [,llabel=STRING] [,rlabel=STRING] [,label=STRING] [,title=STRING] [,ptype=INT] [psize=INT] [norm=BOOL])

top corner - data for which the top corner is 100
left corner - data for which the left corner is 100
right corner - data for which the right corner is 100
tlabel - top corner label (default is X)
llabel - left corner label (default is Y)
rlabel - right corner label (default is Z)
label - key label (default is "data")
title - plot title (default is blank)
ptype - point type (0-?, default is 3)
psize - point size (0-?, default is 1)
norm - normalize the data to 100 if norm=1 (default is 0)

Examples

dv> X
1x6x1 array of float, bsq format [24 bytes]
32.4000
21.1000
72.4000
33.3000
0.300000
70.5000
dv> Y
1x6x1 array of float, bsq format [24 bytes]
21.3000
13.4000
5.20000
30.3000
1.20000
29.1000
dv> Z
1x6x1 array of float, bsq format [24 bytes]
46.3000
65.5000
22.4000
36.4000
98.5000
0.400000
dv> triplot(X,Y,Z)

Images

Result of triplot command in example

triplot.png

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Major Sub-Functions

Related Functions

Recent Library Changes

Created On: 05-04-2009
Modified On: 12-13-2012

Personal tools