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

Home » Public Forums » archive » 2D array as colour dot image
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
2D array as colour dot image [message #82704] Mon, 14 January 2013 12:22 Go to previous message
markjamie is currently offline  markjamie
Messages: 30
Registered: November 2012
Member
Hi

Think I'm having a slow day as I'm sure the answer to this will be obvious...

I'm trying to use the new / function graphics in IDL8 to plot a 2D array as a colour scaled dotted plot, where each dot represents the value of an element in the array. In essence, the plots I'm trying to create are similar to those featured throughout this presentation http://www.insinume2012.com/downloads/pdf/Session_2/2.4._Zha ng.pdf (see slides 5, 6, 7, 9, 10, 11, 12, 13).

I've done similar things in the past with direct graphics using shade_surf and automatically rotating the surface so the view is "top down". I've tried this with surface in function graphics and while it works, when the number of points gets large it becomes very slow...

Is there any way to do it in function graphics with a 2D image plot?

Given an image is just an array of pixels it seems like it would be obvious.....like I say, think I'm just having a slow day!

Cheers
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: interpolating flux
Next Topic: how to convert a row of data in a column?

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

Current Time: Wed Oct 08 15:14:01 PDT 2025

Total time taken to generate the page: 0.00444 seconds