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
20 Posts
Highlights30 Highlights
RANK
18
of 296,183
REPUTATION
14,096
CONTRIBUTIONS
10 Questions
3,703 Answers
ANSWER ACCEPTANCE
80.0%
VOTES RECEIVED
2,301
RANK
1,512 of 20,361
REPUTATION
1,234
AVERAGE RATING
4.80
CONTRIBUTIONS
28 Files
DOWNLOADS
183
ALL TIME DOWNLOADS
34301
CONTRIBUTIONS
20 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
30 Highlights
AVERAGE NO. OF LIKES
8
Feeds
how to halt a for loop in an external function called from mlapp by using a stop button in the mlap app
> Do I need to pass in app.stopFlag as an argument with the function when I call it, I thought that making app.stopFlag public w...
4 days ago | 0
Zoom of image on UIAxes seems to have one axis bound
Try setting the DataAspectRatio to [1 1 1] using axis(uiax,'equal'). If that doesn't fix the issue, it would help to share a ...
11 days ago | 0
| accepted
How to disable or delete cameratoolbar context menu
This stumped me for a bit but I've found a potential workaround. I'll also make a note of this issue for discussion. Workaroun...
13 days ago | 0
Why is bootci giving different interval than prctile?
You're using two different alpha values. When you call bootci, you specify alpha as 0.05 or 5%. When you call prctile, you'...
14 days ago | 1
| accepted
What are All of the Variables in the Workspace on Answers?
Fixed! Thanks for reporting it. myvar = 5; whos
14 days ago | 2
| accepted
Published
Pinecode: Creating pinecones with Fibonacci spirals
Today we explore phyllotactic spirals, a naturally emerging pattern found in densely packed plant structures such as...
14 days ago
Copy/Paste from ListBox at runtime
Add a right-click "copy" option to ListBox Create a context menu for the list box and set its MenuSelectedFcn to use clipboard...
21 days ago | 1
| accepted
Published
Share your Apps with MATLAB Online and Focused View: A Pumpkin Example
Guest Writer: Eric Ludlam Today Eric Ludlam shares three steps to share your app with others using a hyperlink....
1 month ago
Automatic line selection bug
Ensure that your mouse button isn't stuck. I haven't seen this issue but if it continues to occur after closing and reopening M...
1 month ago | 0
Cannot Open any MLAPP with axes
This appears to be the same issue as in the thread Saurabh mentioned. If you want to try to fix this yourself I suggest you cre...
1 month ago | 1
Where can I get a matlab coffee cup?
Check out the new MathWorks Merch Shop: https://mathworksmerch.com/ Announcement: https://blogs.mathworks.com/community/2024/11...
1 month ago | 4
when I move the plot, the text is not displayed outside the plot itself
When you create the text labels, set clipping to on. text(___,'Clipping','on')
2 months ago | 0
| accepted
Is there any way to add a set of random punctual z values labels inside the plot using a contourf x, y, z command?
Add a set of random z value labels inside a contourf plot This demo shows the following. Define x (vector), y (vector), and z...
2 months ago | 0
| accepted
Serial: Real-time plotting and storaging streaming data from Arduino slowing down badly over time
Calling plot(__) with hold on in a loop is inefficient. Every time new points are added to the axes, new line objects are creat...
2 months ago | 0
Published
Narrow down your legends with IconColumnWidth
Guest Writer: Afiq Azaibi Afiq Azaibi is back to tell us about a new feature in R2024b that controls the...
3 months ago
Violin plot has tails that go beyond real data
The important concept to understand is that violin plots show a visual estimate of the data’s distribution beyond the observed v...
3 months ago | 0
How to creat grouped violin plot?
MATLAB R2024b introduces a new violinplot with a grouping option. data = random(makedist('Weibull'),1000,8); xgroup = catego...
3 months ago | 0
how to do violin plot in matlab
MATLAB now has a violinplot, introduced in R2024b. See also swarmchart tiledlayout(3,1) violinplot(nexttile,rand(20,3).*[.8 ...
3 months ago | 0
How to create an external plot in live editor?
f = figure(); plot(magic(5)) f.Visible = 'on'; % This sets the external figure visibility to on alternatively, use uifigure...
3 months ago | 0
Specify "plot box" position for tiled layout
> How can I set the postion of the "plot box" that is made up from the three tiled plots? The position property for axes in a T...
3 months ago | 0
| accepted
multiple 3D plane plotting
Starting in R2024b, you can use the constantplane function to generate planes based on their vector normals. Using Matt J's demo...
3 months ago | 1
how to draw a plane?
Starting in MATLAB R2024b, you can use constantplane to create a 2D plane in 3D axes. However, unlike surfaces and patches, the...
3 months ago | 0
plotting a plane in three dimensions including data points
Starting in R2024b, use the constantplane function to plot a 2D plane in 3D axes. The ConstantPlane is defined by its normal v...
3 months ago | 0
What figure properties does graymon sets?
In case anyone is still looking to flip between gray and colored figured, exportgraphics has a colorspace property that can be s...
3 months ago | 0
I want to change the background value of figure to white.
Set the figure's color using the figure's Color property. set(gcf,'Color','white') Or set the color upon creation of the figur...
3 months ago | 1
| accepted
Published
Plotting a New Course: A Grown-Up compassplot
Guest Writer: Abby Skofield Today's R2024b feature highlight is written by Abby Skofield, a developer on the...
3 months ago
How to add a 2D plot to an existing 3D plot by sharing the same axes?
This is challenging. The reason it's challenging is because camera properties are set relative to a point in an axes, not relat...
3 months ago | 3
| accepted
Published
R2024b release: What’s new in Graphics and App Building?
Two of my favorite times of the year are September and March, when the landscape transforms beautifully in my area of the...
3 months ago
first time use Histogram, need help
In MATLAB, I recommend using the histogram function. histogram('Categories',Categories,'BinCounts',counts) x = reshape([0.29:0...
4 months ago | 1
Add title to one row of a subplot
Instead of using subplot, I recommend using tiledlayout which supports nested layouts and global titles. Follow these instructi...
4 months ago | 0