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

Home » Public Forums » archive » overplotting contours on tvimage....
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
overplotting contours on tvimage.... [message #94393] Mon, 08 May 2017 12:50 Go to previous message
astroboy.20000 is currently offline  astroboy.20000
Messages: 39
Registered: August 2012
Member
Hello,

I'm trying to overplot contour lines on an image made with David Fanning's TVIMAGE command.

I'm doing something like this:


data=world() ;360x360 array, ranges from 0 to 254
tvimage,data,position=[.5,.5,.6,.6] ; I need to do multiple plots

contour,/overplot,data,levels =[ 100,150,200]

No contours show up.

I've thought about doing a congrid command something like this:

data2 = congrid(data,x_panel_size, y_panel_size)
contour,data2,/overplot,levels =[100,150,200]

but I can't figure out how to get the size of the current plot, that is, the image I plotted at position= [.5,.5,.6,.6].


Any suggestions would be welcome. I've been banging my head against the wall for a couple of days now.

Mark
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: area threshold
Next Topic: Convert string to image matrix (like xyouts)

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

Current Time: Wed Oct 08 13:31:42 PDT 2025

Total time taken to generate the page: 0.00381 seconds