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

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

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)

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

Hai, actually i need to plot xy path of my robot on a 2D-map of the environment. Any idea ?

Sign in to comment.

Categories

Find more on Modeling in Help Center and File Exchange

Products

Asked:

on 13 Sep 2014

Commented:

on 23 Jun 2019

Community Treasure Hunt

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

Start Hunting!