Azzera filtri
Azzera filtri

problem with showing image in App-designer

2 visualizzazioni (ultimi 30 giorni)
Yu Li
Yu Li il 1 Mag 2019
Modificato: Yu Li il 1 Mag 2019
Hi:
I meet a problem while trying to show image in an app-designer
below are my workflow:
  1. in a UIAxis, patch a squre with given coordinates
  2. add a text after 'patch'
  3. hold on
  4. load an image and show in the same UIAxis, with 'XData' and 'YData'
what I can assure is that, the parameters that determine the coordinate in patch function, and the 'XData' & 'YData' that determine the coorrdinate in 'imshow' function, are all inside the XLim and YLim of the UIAxis.
the 'patch' and 'text' function works well, result like below:
but when I use 'imshow' to add the figure, the result becomes below:
the location of text changes.
since there is no way to add .mlapp as attachment, I appreciate any suggestions.
Bests,
Yu

Risposte (0)

Categorie

Scopri di più su Graphics Object Properties in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by