How to Use an Image for background in XY Graph in Simulink
4 views (last 30 days)
Show older comments
Bharat on 13 Sep 2014
Commented: Peeku on 23 Jun 2019
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.
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.
Sreeram Mohan on 19 Sep 2014
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 !
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 ?
Find more on Model, Block, and Port Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!