Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5279

Labeled List Plot

From graser <graser@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Labeled List Plot
Date 2011-09-29 06:11 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j6126i$m43$1@smc.vnet.net> (permalink)

Show all headers | View raw


Dear Group,

I have a question for you.
I want to make a list plot with some labeling on the data point.

Les't say that I have a matrix like that,
AS={{0.4, 3390, 0.9}, {0.46, 5283, 0.7}}
I want to make a listplot with AS  with first slot as x and second
slot as y and third one as the label.

I got this one

Graphics[{PointSize[.015], Point[{AS[[#]][[1]], AS[[#]][[2]]}],
    Inset[AS[[#]][[3]],
     Scaled[{.015, 0}, {AS[[#]][[1]], AS[[#]][[2]]}], Left]} & /@
  Range@Length@AS, Axes -> True, AspectRatio -> 1/1,
 AxesOrigin -> {0, 1000}, Frame -> True]

My question is if the AS become a matrix like

ASN={{{0.4, 3390, 0.9}, {0.46, 5283, 0.7}}, {{0.4, 3583, 0.9}, {0.46,
5476, 0.7}}}

How can I make a listplot with ASN?

I also want to put different color on different set of list like Blue
on {{0.4, 3390, 0.9}, {0.46, 5283, 0.7}} and red on {{0.4, 3583, 0.9},
{0.46, 5476, 0.7}}.

Thanks

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Labeled List Plot graser <graser@gmail.com> - 2011-09-29 06:11 +0000

csiph-web