|
|
 |
| found 14 articles for 0.302 sec |
  |
| points = {{0, 0}, {0, 1}, {1, 1}, {1, 0}};
att1 = {1, .3, .5, .7};
att2 = {.05, .1, .05, .075};
Show[Graphics[Transpose[
{Hue /@ att1, PointSize /@ att2, Point /@ points}]],
Axes -> True]
ListPlot[List /@ points,
PlotStyle -> Transpose[{Hue /@ att1, PointSize /@ att2}],
PlotRange -> {{-0.1, 1.1}, {-0.1, 1.1}},
AspectRatio -> 1]
In version 6:
Graphics[Transpose[
{Hue |
|
 |
|
 |
Group: dk.snak.mudderkastning · Group Profile · Search for Att2 in dk.snak.mudderkastning
Author: H. P. Holm
Date: Aug 10, 2008 03:13
King, Peter R wrote: I cannot find this in the help at all, although I am sure it is straightforward. I have a list of coordinates of points points={{x1,y1},{x2,y2}...} and two lists of attributes att1={a1,a2,..} and att2={b1,b2,...} I want to do something like ListPlot[points,PlotStyle->{Hue[att1],PointSize[att2]}] So I get dots at each point in colour att1 and size
|
| Show full article (0.97Kb) · Show article thread |
| I cannot find this in the help at all, although I am sure it is
straightforward.
I have a list of coordinates of points points={{x1,y1},{x2,y2}...}
and two lists of attributes att1={a1,a2,..} and att2={b1,b2,...}
I want to do something like
ListPlot[points,PlotStyle->{Hue[att1],PointSize[att2]}]
So I get dots at each point in colour att1 and size given by att2. I'm
sure it's easy but |
|
 |
|
 |
Group: dk.snak.mudderkastning · Group Profile · Search for Att2 in dk.snak.mudderkastning
Author: Bo M. Mogensen
Date: Aug 8, 2008 04:51
field M[?^:K)BH4$T(L<@C'RS\C1&N9R=^X""5^-64^.."/8WKD'JI+@YA?"&\9/@K M]<G[FC+6<#/^]"#URHKONG\D!N,^^E#F0?A=291ZP[.5NX5H."E=8WGTE1)$ M86D9UA\CY9@*P`TS0G:67R-QLUQ?<>^`[(M#3?@B:IT90W']JYM+L4D/)3WN B'$1@ZF`CEX&0K9GVH_@.`$&4_F+.(F78K$]H^"+>'4M\JD,SDD^620U>53 M`%%^ROX-'=&L.\JJ6N&)4N@%%OU)4\*SF0Z[7_+B#F38KH9!9E@IP/"E\N4VKM MV1+CH"XRYE6WGKEA&<\AO*&ODRB="T8.UE>MO"`C1PNF<`ED<UH-$'T,O\O9 M-LGAO.=K>$8
|
| Show full article (1.15Kb) · Show article thread |
|
 |
|
1 ·
2 ·
next |
|
|