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

Home » Public Forums » archive » cgImage trim
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
cgImage trim [message #92287] Wed, 11 November 2015 00:10 Go to previous message
amin farhang is currently offline  amin farhang
Messages: 39
Registered: November 2010
Member
Dear all,

I have an image in a specific range like bellow:

cgDisplay, 500, 500
cgplot,dist(200),xrange=[-300,300],yrange=[-300,300],/nodata
cgImage, cgDemoData(5), CTIndex=33,AlphaFGPos=[0.128, 0.126, 0.925,0.9],Transparent=20

How could i only display the region between xrange=[-100,100] and yrange=[-100,100]? i.e. the axis range show above ranges and image automatically zoom in that region?


Best regards,
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Backlogged question: Drawing vector fields with same scaling in New Graphics
Next Topic: contour palette

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

Current Time: Wed Oct 08 13:56:09 PDT 2025

Total time taken to generate the page: 0.00563 seconds