The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Manipulate: How to correctly adjust one control parameters based on current setting of another control?
Replies: 3   Last Post: Sep 29, 2009 7:42 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
King, Peter R

Posts: 32
Registered: 11/15/05
Background image sizing
Posted: Sep 29, 2009 7:42 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have a bitmap image (.bmp file) - call it pict - that I wish to use as the background for some graphics. I do this with

Graphics[Table[Point[{x, 50 Sin[2 \[Pi] x/100]}], {x, 0, 100}],
Prolog -> Inset[pict]]

(the actual graphics is more complicated than a sine curve but never mind).

Now if I just display the graphics by typing pict I can rescale this by clicking on the image and dragging the corners of the orange box. However when I overlay the graphics onto the image (as above) and try to drag the box it rescales the plot but not the background image. Is there any way I can link the two together so I can rescale by dragging the cursor? I tried GraphcsGrouping but that didn't get me anywhere.

I am using version

Many thanks.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.