<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div>hello Adam, <div class=""><br class=""></div><div class="">duh!!! It was the same exact query… Thank you for your patience!…</div><div class=""><br class=""></div><div class="">I do have a follow-up…</div><div class="">What I actually want to do is, given a 2-dimensional array, assign different markers to one dimension, and different colors to the other dimension.</div><div class=""><br class=""></div><div class="">Attached is a script that does not work — it does in terms of different markers, but not in terms of different colors…</div><div class=""><br class=""></div><div class="">Suppose my array is (/ 3,5 /) — 3 rows and 5 columns. I want each element in a row to be identified by a different marker, and different rows [repeating the same markers] to be different colors.</div><div class=""><br class=""></div><div class="">If I define a “colors” vector like this:</div><div class=""><br class=""></div><div class=""><div class="">cols = (/ "green", "yellow", "red" /)</div><div class="">col2D = onedtond(cols,(/5,3/))</div><div class="">col2D!0 = "mkr"</div><div class="">col2D!1 = "col"</div><div class="">coll = ndtooned(col2D( col |:, mkr |:))</div></div><div class=""><br class=""></div><div class="">when I add either:</div><div class=""><br class=""></div><div class="">mkres@xyMarkerColors = col2D</div><div class=""><br class=""></div><div class="">or </div><div class=""><br class=""></div><div class="">mkres@xyMarkerColors = cols</div><div class=""><br class=""></div><div class="">then each marker gets a color…</div><div class="">Whereas if I set:</div><div class=""><br class=""></div><div class="">mkres@xyMarkerColors = coll</div><div class=""><br class=""></div><div class="">then all points are one color, the first one in the array “cols”.</div><div class=""><br class=""></div><div class="">Is the only way to do this to use a do-loop, where I repeat your original suggestion to handle markers, and loop on the colors?</div><div class=""><br class=""></div><div class="">thanks again!</div><div class="">alessandra</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""></div></body></html>