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

Home » Public Forums » archive » lego tiled image (how to make?)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
lego tiled image (how to make?) [message #22595] Wed, 22 November 2000 00:00
R.G.S. is currently offline  R.G.S.
Messages: 46
Registered: September 2000
Member
Greetings all,
I have an satellite data image and I would like to plot it
as a color image composed of small uniform shaded rectangles.
i.e. sort of like IDL> tv,rebin(image,/sample)

This data does need the axis that a surface (or plot) command will give.
So the rebin will not work in general, (or I supoose I could calculate
the size of the output image, then create the axis appropriate for that)
Also, I will want to plot this as a polar plot in the future, and the rebin
function will nto work for that.


What I (currently) do to plot this data is (surface; rotated to bird's eye
view):

shade_surf, merged,lonbins,latbins,shade = bytscl(merged,/nan),$
ax=90,az=0,ztickname = strarr(10)+' ',zticklen = 0.0001,/noerase


What I really want is to create a surface like
surface,image,/lego
and do the above shadesurf command.


What is the best way to create such a figure?
Should I write the code to draw and shade each polygon for each sample
(ugh slow!), or is there already a way to do such a thing?


Cheers,
bob
stockwell at co-ra.com
[Message index]
 
Read Message
Previous Topic: The Perfect Christmas Gift 9704
Next Topic: Re: PLOT procedure (was: Julian Day Numbers)

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

Current Time: Sat Oct 11 07:22:34 PDT 2025

Total time taken to generate the page: 0.72373 seconds