How to Use an Image for background in XY Graph in Simulink

7 views (last 30 days)
I have made a simulink model that plots circle in the XY graph using the XY Graph block. I want the plotting to be done over an Image so as to verify the regions it passes through. The image is of multiple hexagons of different sizes.
I tried googling but couldnt really find a solution.
Please help
Bharat
  1 Comment
Ravi Prakash
Ravi Prakash on 20 Mar 2018
Hi Bharat,my name is ravi and i am doing project on xy plotter which plots texts images.can you help me by providing appropriate information regarding simulink model and its code.
please help me..thanks in advance.

Sign in to comment.

Answers (1)

Sreeram Mohan
Sreeram Mohan on 19 Sep 2014
Hi Bharath,
You could try the following.
Look under the mask of the XY graph block by right clicking and then double click on the Sfunxy block and then edit the m file.
There is a figure command that is associated with the block. May be try adding a back ground image there and you should be able to achieve what you want.
Hope this helps !
--sreeram mohan
  1 Comment
Peeku
Peeku on 23 Jun 2019
Hai, actually i need to plot xy path of my robot on a 2D-map of the environment. Any idea ?

Sign in to comment.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!