Displaying 6 results from an estimated 6 matches for "equilateral".
2011 Apr 02
3
Plotting MDS (multidimensional scaling)
Hi,
I just encountered what I thought was strange behavior in MDS. However, it
turned out that the mistake was mine. The lesson learned from my mistake is
that one should plot on a square pane when plotting results of an MDS. Not
doing so can be very misleading. Follow the example of an equilateral
triangle below to see what I mean. I hope this helps others to avoid this
kind of headache.
Let's say I have an equilateral triangle. Then, the three Euclidean
distances between points A, B, and C are all equal. That is,
dist(AB)=dist(AC)=dist(BC). Let the points A, B, and C have
(x,y)-coordi...
2012 Sep 21
3
(koans) another problem (syntax error)
Hello,
I now trying to solve this one :
# Triangle Project Code.
# Triangle analyzes the lengths of the sides of a triangle
# (represented by a, b and c) and returns the type of triangle.
#
# It returns:
# :equilateral if all sides are equal
# :isosceles if exactly 2 sides are equal
# :scalene if no sides are equal
#
# The tests for this method can be found in
# about_triangle_project.rb
# and
# about_triangle_project_2.rb
#
def triangle(a, b, c)
if ((a == b) and (b == c))
return :equila...
2007 Jun 18
4
triangle contour plots
Suppose I have three numbers p1, p2, p3 with
0 <= p1,p2,p3 <= 1 and p1+p2+p3=1,
and a function f=f(p1,p2,p3) = f(p1,p2,1-p1-p2).
How to draw a contour plot of f() on the p1+p2+p3=1 plane,
that is, an equilateral triangle?
Functions triplot(), triangle.plot(), and ternaryplot() give
only scatterplots, AFAICS
--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
tel 023-8059-7743
2002 Apr 17
4
Problem w/ axis and distortion in a plotting function
...text(conv.ter(c(rep(-3,6)), c(102,82,62,42,22,2)), c("0", "20", "40",
"60", "80", "100"), cex = 0.75 )
}
The label for the Sand axis (first text line above) is not shown.
The second problem I have with this is that the triangle should be
equilateral but when I print
it the triangle is not. If I use par(pty = "s") before the plot.psd call
than the triangle is
always stretched vertically.
Any Ideas?
With best wishes and kind regards I am
Sincerely,
Corey A. Moffet
Instructor
Department of Range, Wildlife, and Fisheries Management...
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
Sent from the R help mailing list archive at Nabble.com.
2010 May 05
0
R-help Digest, Vol 87, Issue 5
...briele
On Mon, May 3, 2010 at 2:29 PM, Jim Lemon <jim at bitwrit.com.au> wrote:
> On 05/03/2010 09:43 PM, Gabriele Esposito wrote:
>>
>> Good afternoon,
>>
>> I am looking for a way to do a scatterplot of 4 values summing to 1
>> inside a 3D symplex, i.e. an equilateral pyramid. With the function
>> triax.plot I can do that with 3 values summing to 1, but I can't find
>> an equivalent with an extra dimension.
>>
> Hi Gabriele,
>
> I don't have time at the moment to do anything but point you to the rgl
> package. Might be able...