
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
25 Posts
Highlights31 Highlights
RANK
18
of 298.641
REPUTATION
14.244
CONTRIBUTIONS
10 Questions
3.738 Answers
ANSWER ACCEPTANCE
80.0%
VOTES RECEIVED
2.342
RANK
1.414 of 20.635
REPUTATION
1.329
AVERAGE RATING
4.80
CONTRIBUTIONS
28 Files
DOWNLOADS
221
ALL TIME DOWNLOADS
35103
CONTRIBUTIONS
25 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
31 Highlights
AVERAGE NO. OF LIKES
8
Feeds
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 dag 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 ...
2 dagen ago | 0
Published
Making even prettier graphs
Contributor: Abby Skofield We're excited to welcome Abby Skofield back to the blog! Abby revisits the classic topic...
3 dagen 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...
4 dagen 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...
9 dagen 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...
11 dagen 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...
12 dagen 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...
13 dagen 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...
13 dagen 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...
17 dagen 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 ...
17 dagen 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...
17 dagen 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...
24 dagen 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.
27 dagen ago | 0
| accepted
Using hold to generate scatter-histogram in for loop
There are two approaches to creating a scatterhistogram while using a loop. The first is to collect the data within the loop ...
ongeveer een maand ago | 0
| accepted
How to Change the first letter of a string to capital case and the rest to lowercase
Here's an approach that uses lower and regexprep. str = {'Vidin','sliven','rUSE','pErNiK','LOVECH'}; strTitle = regexprep(lowe...
ongeveer 2 maanden ago | 1
yyaxis limit for lines in one graph
Specify Line Style and Color in axes properties instead of in plot(__) Starting in R2023a, you can set the line style and line ...
ongeveer 2 maanden ago | 1
mlapp scaling/zoom errors
The zoom issue you are describing has been fixed for the R2025a release and is avalable in the R2025a pre-release. There is no ...
ongeveer 2 maanden ago | 0
Transparency violation error only in new desktop and when a breakpoint is set in another function.
Transparency in MATLAB code refers to MATLAB's ability to identify all variables by scanning the code while ignoring comments, c...
2 maanden ago | 0
| accepted
Published
Casting Shadows and Inverse Stereographic Projections
Guest Writer: Eric Ludlam Joining us again is Eric Ludlam, development manager of the MATLAB charting team....
2 maanden ago

The plotting function implicit3 fails to render under certain conditions. Notably, for sphere larger than a certain amount.
I believe the problem is recreated when the axes limits are not set. In this case, the ImplicitFunctionSurface is larger than th...
2 maanden ago | 0
"plot" versus "text" command
Text's property AffectAutoLimits is set to off by default. This means that the axes limits will not update if a text object is ...
2 maanden ago | 2
| accepted
Published
Casting Shadows
Guest Writer: Eric Ludlam Joining us again is Eric Ludlam, development manager of the MATLAB charting team....
3 maanden ago

Converting from Cartesian rates to spherical rates.
To convert the three Cartesian velocity components to spherical velocity values, you can follow these steps. I assume East is ...
3 maanden ago | 0
Implementation details on surfnorm()
I recently looked into this topic and here's what I found. The surfnorm algorithm uses bicubic interpolation as defined in the...
3 maanden ago | 0
How do I make and export a brushed area from a figure
Turn on brushing To turn on brushing, press the brush icon in the axes toolbar or called the brush command: brush on. Intera...
3 maanden ago | 0
Alphabetical Sorting (case insensitive)
> I want to assort an array of words in alphabetical order with case insensitive sorting A = ["help" ; "MATLAB" ; "anyTIME" ; "...
3 maanden ago | 0

Poll
Which skill would you like to enhance: Creating or Interpreting data visualizations?
3 maanden ago | 28 votes | 2 comments
Appdesigner: updating the value of Text area
See drawnow function StartButtonPushed(app, event) app.val = app.PromptTextArea.Value; app.StartButton.Enable = "of...
3 maanden ago | 0
| accepted
Replacement for undocumented function feature('setround')
> Is there a documented MATLAB replacement for the undocumented function feature(‘setround’)? There currently is not a document...
3 maanden ago | 0
| accepted