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: Plot Points over an image
Replies: 2   Last Post: Dec 19, 2012 4:55 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 1
Registered: 12/18/12
Plot Points over an image
Posted: Dec 18, 2012 2:36 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I have a TIFF image of 640x640 pixels, over which I would like to plot a list of points or disks with small radius.
I have been testing different alternatives and I found ImageCompose command.

ImageCompose[image, {Graphics[{PointSize[.009], Black, Point[{0, 0}]}
], .6}, {600, 600}]

This place a point at pixels {600,600} from left-bottom, but if I set a point close to e.g. right edge of the image {635,600} the point is into the frame bat there is not image at background. Namely, the image does not show all the pixels. First, let say 20-25 first x-pixels of the image, and the last 20-25 x-pixels of the image are invisibles.

When I tick the image it shows the image at the center of the frame and two blank vertical spaces at right and left of the image.

Two questions:
- There exist any option or command I could use to show the full image, i.e. the 640 x 640 pixels?
- How could I display over imposed a list of points (e.g. 40 points) at pixel coordinates and all on the same image.

Thank you very much for your help and time.


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.