Do graphs work in Custom Components?

조회 수: 5 (최근 30일)
Ken
Ken 2024년 1월 24일
답변: Taylor 2024년 8월 26일
I built a custom component (first time I've tried this) containing two Axes objects as well as some text fields. Here's a picture. I've been having some problems.
1. These graphs appear one size in the editor, and larger when an instance of my component is inserted into my app. (Compare the relative size of the graph to the text fields, in the picture above in the picture below.)
2. Some fraction of the time, when I run the app, the Axes objects don't appear at all, although the other parts of the custom component do.
Is this a known bug? Is this usage of Axes objects a hopeless mess? Or is there some way I can tweak it to get around this problem.
Component embedded in app:
App running:
  댓글 수: 1
Govind KM
Govind KM 2024년 8월 23일
Can you share the code for your app?

댓글을 달려면 로그인하십시오.

답변 (1개)

Taylor
Taylor 2024년 8월 26일
Yes, graphs work in custom components. Are you using an "axes" object or a "uiaxes" object in the component? Sharing the code for your custom component and app would help a lot.

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by