How can I use a customized figure-function to show over UIAxes in app designer?

1 view (last 30 days)
Dear All,
I am using the SeqLogoFig (attached) to convert my sequences to a logo ( I have found that in the file exchange webpage.
I have used this over the GUIDE GUI but now need to use this in the app designer. I use the folowing lines but it shows error. Would you please help me to resolve this issue and make my code line correct?
Many thanks in advance.
Error using seqlogo (line 109)
Incorrect number of arguments to seqlogo.
Error in SeqLogoFig (line 83)
wm = seqlogo(SEQ, varargin{:}, 'displaylogo', false);

Accepted Answer

Pavan Guntha
Pavan Guntha on 28 Jul 2021
Hi Mohammad,
You could look at the following code snippet:
'SeqLogoFig.m' is one of the several submissions in MATLAB File Exchange on MATLAB Central which is a forum for our product users to interact, exchange information and knowledge, without MathWorks' involvement. Feel free to contact the author of this submission directly for specific questions about the implementation
Hope this helps!
  1 Comment
Mohammad Shahbazy
Mohammad Shahbazy on 28 Jul 2021
Edited: Mohammad Shahbazy on 28 Jul 2021
Hi Pavan,
Thanks a lot for you reply. I tried this, it can set the figure over the UIAxes but showing in an inverse form! Besides, it prompts a new figure window with axis labels and ticks (both attached). I am just wondering if I could prevent prompting new window and plot it in a normal mode.
I tried to contact the author but still not received any reply.
Best regards,

Sign in to comment.

More Answers (0)


Find more on Develop Apps Using App Designer 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!