comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » help with scatter plot-like data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
help with scatter plot-like data [message #84885] Mon, 17 June 2013 07:00 Go to previous message
clykou is currently offline  clykou
Messages: 2
Registered: June 2013
Junior Member
Hi

I'm really out of my depth here with my minimal knowledge on IDL. Basically I'd like to make a color-coded 2D scatter plot, but I'm not sure how to do it.

Here's the thing. I already have values for my x and y axis and I already know that the positions of the scattered points for my z-axis are just the sqrt(x^2+y^2). But I'm not sure how to plot them in 2D.

I tried a dummy array
dummy=fltarr(3,n_elements(dataz))
dummy[0,*]=dataz
dummy[1,*]=xaxis
dummy[2,*]=yaxis

but then I have no idea how to use the plot command to make the scatter plot.

Any help will be very welcome!

Cheers
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: cgHistogram - logarithmic y-axis with integer values
Next Topic: Get directory list from HTTP Server

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:31:33 PDT 2025

Total time taken to generate the page: 0.00434 seconds