Message Boards Message Boards

GROUPS:

Embedding image in codes

Posted 8 years ago
6983 Views
|
5 Replies
|
1 Total Likes
|

How can i put any image in the specific region as shown in the attached file.

thanks

Attachments:
POSTED BY: Kashif Nazar
5 Replies

Thanks sir, for your suggestion, i applied your suggested codes but image is not fully embedded in the grid, as i gave the sample at the end of attached file.

Please see the attached file and Guide me.

Thanks

Attachments:
POSTED BY: Kashif Nazar

Try something like this:

Image2 = Show[g2In, g2IIn, go, go1, 
  Graphics[{Inset[Import["C:\\Users\\user\\Desktop\\New folder (3)\\SAM_4058.JPG"], {1, 1}]}], 
  AxesLabel -> {"x", "y"}, ImageSize -> 400, PlotRange -> {{-1.2, 1.2}, {-1.2, 1.2}}]

Note that I don't know what size you want the image to be or where. Hopefully, you can take it from there. If not, ask some more questions.

POSTED BY: Chad Knutson

Hello Sir,

Please suggest me .Thanks

POSTED BY: Kashif Nazar

Hello Sir, Thanks for reply, your suggested way is good but i am facing problem in implementing as you can see in the attached file, i have given one sample in the file at the end, I will be thankful if you try in the attached file and suggest me. Thanks

Attachments:
POSTED BY: Kashif Nazar

You can copy an image (GIF, JPEG, TIFF, etc.) from its original source and paste it into a Mathematica document.. Then using Inset, you can place it anywhere with a specified location and size.

POSTED BY: S M Blinder
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract