Why doesn't my Axes Plot in my GUI cut off at the boundaries I made?

2 views (last 30 days)
For some reason when I create an axes in GUIDE and plot something on it, it shows up in the proper location on the gui but when I pan or zoom in to the axes with the tools I put into the tool bar the graph exceeds the limits of the axes boundaries and displays over other buttons in my GUI.
  1 Comment
Ben11
Ben11 on 8 Jul 2014
Can you show the code you use to generate the plot in the axis? What if you use
set(yourAxisHandle,'XLim',[x-boundary],'XLim',[y-boundary]);
after you create the plot?

Sign in to comment.

Answers (0)

Categories

Find more on Migrate GUIDE Apps 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!