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

Home » Public Forums » archive » Plotting a horizontal line over a cgImage
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Plotting a horizontal line over a cgImage [message #93588 is a reply to message #93585] Tue, 30 August 2016 06:59 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
I had tested your code by putting in fake data below and I see the horizontal line at y=2. --Wayne


cgimage,dist(512),/DEVICE,/SCALE,/AXES,position=[0.2,0.2,0.9 ,0.9],$
xrange=[1,10],yrange=[1,100],charsize=3,$
AXKEYWORDS={xtickformat:'(A1)',ylog:1,yticks:2,$
ytickname:['10!e0','10!e1','10!e2']},/noerase


cgplot,[1,10],[2.0,2.0],thick=4,line=5,color='green',$
position=[0.2,0.2,0.9,0.9],/overplot
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Need e-book of Image Analysis, Classification and Change Detection in Remote Sensing: With Algorithms for ENVI/IDL and Python by Mort Canty
Next Topic: Convert MJD date range to number of days elapsed in IDL

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

Current Time: Fri Oct 10 15:24:54 PDT 2025

Total time taken to generate the page: 2.15891 seconds