Adam Danz
MathWorks
Software engineer at MathWorks with a Ph.D. in neurophysiology from the University of Rochester (NY). Specialized in visual and vestibular systems, multisensory integration, sensory-motor and control systems, steering, and navigation. Former member of the MathWorks Community Advisory Board. *My community contributions before 14-Feb-2022 were prior to my employment at MathWorks.
He/him
Statistics
28 Files
Cody0 Problems
34 Solutions
35 Posts
Highlights32 Highlights
RANK
18
of 300,338
REPUTATION
14,354
CONTRIBUTIONS
10 Questions
3,763 Answers
ANSWER ACCEPTANCE
80.0%
VOTES RECEIVED
2,374
RANK
1,364 of 20,922
REPUTATION
1,396
AVERAGE RATING
4.80
CONTRIBUTIONS
28 Files
DOWNLOADS
114
ALL TIME DOWNLOADS
35670
CONTRIBUTIONS
35 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
32 Highlights
AVERAGE NO. OF LIKES
8
Feeds
Turn off UIFigure visibility during unit test
Interaction tests using press, drag, etc, require figure visibility to be on in the App Testing Framework. Make sure you're n...
12 days ago | 0
| accepted
how can I make a colored 2D-surface in a polar plot? I want to give some labels to this polar... It is possible?
Starting in R2025a, polar axes support patch and surface objects. Here's @Joseph Cheng's example applied to polar axes. Ther...
25 days ago | 0
How can I fill with color a odd flower in a cartesian o polar coordinates?
Starting in R2025a, polar axes support patch and surface objects. Here's @bio lim's example applied to polar axes. There's m...
25 days ago | 0
Is there such a thing as MATLAB Markdown
In addition to recommendations to use a Live Script, starting in R2025a the MATLAB editor supports Markdown notation in addition...
3 months ago | 2
How to set figure size in 2025a
Thanks for mentioning this. It's being looked into. In the meantime, exportgraphics and copygraphics have new (R2025a) prope...
3 months ago | 0
How to create an embedded progress bar in app designer, Matlab R2019a?
Here's a step by step guide to creating an embedded progress bar https://www.mathworks.com/matlabcentral/answers/750314-progres...
3 months ago | 0
fill area between two polar curves
@Star Strider asked, "Note to MathWorks: Can we have a patch for polar coordinate systems when you have time to implement it?" ...
4 months ago | 1
Changing GUI figure icon
The Icon property has been available in a uifigure since since R2020b and it became available in regular figures in R2025a. f...
4 months ago | 1
Matlab mlapp gui auto minimises once folder selected using uigetdir() command is there any way to resotre main gui once folder selection done.
This has been fixed in R2025a. Focus now returns to the app that called uigetdir after the dialog is closed. The fix is also av...
4 months ago | 0
How do I control where focus goes after uigetfile dialog is dismissed
This has been fixed in R2025a. Focus now returns to the app that called uigetfile or uisetcolor after the dialog is closed. The...
4 months ago | 0
Uigetfile will make app be behind another windows.
Thanks for reporting the problem. This has been fixed in R2025a. Focus now returns to the app that called uigetfile after t...
4 months ago | 0
Change color of binscatter plot
binscatter uses a colormap to show densities. Setting binscatter to a single color would defeate the purpose of the function be...
4 months ago | 0
Colour background for polar axes
In MATLAB R2025a (and later), patch and surface objects are supported in polaraxes; so is dark theme. R2025a pax = polaraxes...
4 months ago | 0
Cannot close figure using CloseFunctionRequest
The CloseRequestFcn defines what to do when someone tries to close the figure. If you override the CloseRequestFcn then instead...
4 months ago | 0
| accepted
sprintf vs. compose performance for large arrays on macOS
The execution below shows very different results than what's reported in the question. Note that I did some refactoring as to n...
4 months ago | 1
Dynamic filepath for sftp not allowed
The question is refering to the dir function for SFTP or FTP servers. https://www.mathworks.com/help/matlab/ref/matlab.io.sftp...
4 months ago | 1
| accepted
Monitor Gamma Calibration (manual and grayscale)
I believe this describes your setup; please correct me if I'm wrong. You sent grayscale RGB values from MATLAB to your monito...
4 months ago | 0
| accepted
Plans for supporting "imageshow" in uifigures & app builder?
imageshow can already be used in uifigures and apps. imageshow must be parented to a Viewer object and the Viewer object can be...
5 months ago | 0
| accepted
Plotting a vertical line using xline with a value
new_t_val is symbolic. As the error message indicates, xline expects to recieve numeric, datetime, categorical, or duration val...
5 months ago | 0
| accepted
Differences between figure and uifigure (R2025a onward)
General purpose of uifigure and figure Figures created using the figure function are configured for data exploration and visual...
5 months ago | 1
| accepted
How do I dock figures next to the editor by default ?
Starting in MATLAB R2025a, figures created by the figure command appear by default in a figure containter. The set(groot,'Defa...
5 months ago | 1
In App Designer is it possible to plot lines on top of UI components?
> In App Designer is it possible to plot lines on top of UI components? Lines can cross over text layers but other UI component...
5 months ago | 0
| accepted
Accessing Input Arguments in App Designer
> is this the correct way to access the input argument (outside of the startup function)? Yes. The Startup Tasks and Input ...
5 months ago | 0
| accepted
UI scaling changes from latest 2025a prerelease to official 2025a release
There's a known issue using Accessibility Text Scaling on Windows that affects UI Components in R2025a and some earlier releases...
5 months ago | 0
| accepted
Plot browser in R2025a?
Indeed the plot browser is gone in R2025a. However, many of the features that were in plot browser have moved to the Property I...
5 months ago | 5
| accepted
Why does this code run (20 to 100)% slower on R2025a compared to R2024b?
Hello @Mateusz, I ran your demo in R2024b and R2025a and can confirm a bit of a slowdown in 25a. Please contact tech support ...
5 months ago | 1
How to change the size of bar in bar3 plot?
The problem is that bar3 does not have an input argument for x coordinates and there's no easy way to update the x coordinates o...
6 months ago | 0
How can I pass an image to a figure ?
Use image and specify the x and y limits instead of using polyshape. % Generate a wood grain pattern (example) grain = rand(30...
6 months ago | 1
| accepted
How do I put more than one patternCustom plot into a figure when it seems like neither subplot or tiledlayout will work?
How do I put more than one patternCustom plot into a figure? This is tricky because patternCustom does not have a parent argume...
6 months ago | 0
| accepted
How can I draw a circular trend line in a heat map?
This solution plots a contour line that was computed at a specific level using smoothed data and is plotted on top of the origin...
6 months ago | 0











