
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
26 Posts
Highlights32 Highlights
RANK
18
of 299,007
REPUTATION
14,300
CONTRIBUTIONS
10 Questions
3,752 Answers
ANSWER ACCEPTANCE
80.0%
VOTES RECEIVED
2,354
RANK
1,397 of 20,659
REPUTATION
1,347
AVERAGE RATING
4.80
CONTRIBUTIONS
28 Files
DOWNLOADS
145
ALL TIME DOWNLOADS
35238
CONTRIBUTIONS
26 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
32 Highlights
AVERAGE NO. OF LIKES
8
Feeds
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...
2 days 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...
3 days 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 days 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...
5 days ago | 0
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...
6 days 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...
10 days 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...
11 days ago | 0
| accepted
Highlighted
Want insider info on R2025a graphics and app building features?
The Graphics and App Building Blog just launched its first article on R2025a features, authored by Chris Portal, the director of...
12 days ago | 15
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...
12 days ago | 0
| accepted
Published
Introducing the New Graphics and App Building System in MATLAB R2025a
Guest Writer: Chris Portal Chris Portal serves as director of engineering for the MATLAB graphics and app building...
12 days ago

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...
13 days 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...
20 days 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...
20 days 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 ...
20 days 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...
24 days ago | 0
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...
24 days ago | 2
Published
Labeling Bars Made Easy
Guest Writer: Benjamin Kraus Ben has been a Software Engineer on the MATLAB Graphics and Charting Team since 2015....
1 month ago

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 ...
1 month ago | 1
Published
Making even prettier graphs
Guest Writer: Abby Skofield We're excited to welcome Abby Skofield back to the blog! Abby revisits the classic...
1 month ago

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...
1 month 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...
2 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...
2 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...
2 months ago | 0
Remove ".mlapp file has been modified outside of App Designer" prompt
As Cris mentioned above, your best bet to address this issue is by contacting tech support. It would be helpful to include the f...
2 months ago | 0
I'm trying to bring m_gshhs_f(....) in front of my plot.
These files belong to a 3rd party toolbox which I found here: https://kml.deltares.nl/docs/OpenEarthHtmlDocs/blue/applications/m...
2 months ago | 0
Add fixed colorbar to volshow
Showing a colorbar with volshow Adding a colorbar directly to the figure produced by volshow is not supported. Here's a workar...
2 months ago | 2
| accepted
undocking command window in new desktop
In the R2025a prerelease: Right-click the command window and select "Undoc Command Window" from the context menu. To dock ...
2 months ago | 0
Figure window full screen from live script editor not working
I believe your workflow is to generate the figures in the mlx file and then to open the figure window using the interactive butt...
2 months ago | 1
| accepted
How to show variables in the workspace of an custom UI component ( App Designer) while debugging?
I'm having trouble envisioning what you're describing. The property inspector can be closed using the following command. insp...
2 months ago | 0
| accepted
I found a colormap problem with Matlab 2025a
Thanks for reporting this and for the troubleshooting. We were able to reproduce the issue and are working on a fix.
2 months ago | 0
| accepted