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

Home » Public Forums » archive » Filling the frame of a NG plot
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: Filling the frame of a NG plot [message #89785 is a reply to message #89784] Wed, 03 December 2014 10:19 Go to previous messageGo to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
I think it always tries to keep "annotations" (like Polygons, Text, etc.) on top of the "visualizations" (like Plots, etc). One possibility is to use POLYGON with the /DATA keyword, so it throws it into the Visualization space instead of Annotation space.

However, a better way might be to do a fake plot with FILL_BACKGROUND:

pos = [0.2,0.2,0.8,0.8]
win = window(dimensions = [512, 512])
im = image(randomu(seed, [512, 512]), position = [0, 0, 1, 1], current = win)
pl = plot([0, 0, 1, 1], [0, 1, 1, 0], position=pos, current=win, $
/fill_background, fill_color = 'yellow', fill_level=0, $
axis_style=0, linestyle='none')
p2 = plot([0, 1], position = pos, current = win)

-Chris
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Turning Axis Labelling Off
Next Topic: 3D matrix

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

Current Time: Fri Aug 28 13:31:49 PDT 2026

Total time taken to generate the page: 0.20592 seconds