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
Feeds
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...
1 day 前 | 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...
1 day 前 | 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...
1 day 前 | 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...
1 day 前 | 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...
1 day 前 | 0
已发布
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 days 前
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...
18 days 前 | 3
| 已接受
已发布
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...
18 days 前
first time use Histogram, need help
In MATLAB, I recommend using the histogram function. histogram('Categories',Categories,'BinCounts',counts) x = reshape([0.29:0...
30 days 前 | 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...
1 month 前 | 0
dock graphics window size
To set an existing figure's position back to the factory default, set(fig,'Position','factory') Note that set() must be used ...
1 month 前 | 0
Why is my Mixed ANOVA including the intercept as an interaction term?
You can remove the interaction term by including "-1" in the model spec (doc). I also included terms for Congruency and Target i...
1 month 前 | 1
Variables window doesn't work after undocking in R2023b
Hi Kim, please contact tech support and include your instructions above how to reproduce the problem.
1 month 前 | 0
| 已接受
exportgraphics causing strange messages in terminal only for Compiled version of App
This issue was fixed in R2024a. The problem occurred when setting append to true in exportgraphics.
1 month 前 | 1
| 已接受
Fix to frequent "Application not responding" for MATLAB on the Mac
Thank you for sharing your experience, @Daniel Dolan and others. I've consulted with MathWorks developers who work on this infr...
1 month 前 | 0
Return cursor to commandline after plotting
I'm familiar with this issue. Please consider reporting your thoughts on the matter to Tech Support. The best way to do that is...
2 months 前 | 0
| 已接受
When will the transition from Java to Javascript be complete?
Thanks for your questions and curiosity about the JavaScript transition. I highly recommend that you try out the beta version of...
2 months 前 | 4
| 已接受
Vertical blank space in tiledlayout compact
> As you can see there is some vertical unnecessary space between the two horizontal stacks of plots. I would like to reduce it ...
2 months 前 | 1
How to get "Clean" edges on a surface plot?
Conversion from 3D scatter points to a surface is not straightforward. Here, I'm using Delaunay triangulation to create a mesh ...
2 months 前 | 0
| 已接受
How to get "Clean" edges on a surface plot?
Use convhull to enclose the polyton and trisurf to plot the results. Code from OP GS = [0,0 0.225,2.35 1.325,5.525 ...
2 months 前 | 0
Plotting two surface plots in the same figure using two different colormaps
Assign two surface objects two different colormaps using Truecolor arrays The recommended approach is to create an overlayed ax...
2 months 前 | 0
changing font size in all the elements of figures
Starting in MATAB R2022a you can use the fontsize command. For example, to set the fontsize to 15 points for all* text in a fi...
2 months 前 | 0
How to change the size of heatmap axis labels
How to independently change fontsize of tick labels and axis labels in heatmap Heatmap's FontSize property sets the font size f...
2 months 前 | 0
已发布
Creating a Flight Tracking Dashboard, Part 2: Developing an Aircraft Chart
Guest Writer: Ken Deeley Ken is an application engineer in Cambridge, UK, supporting MathWorks users with their technical...
2 months 前
Invalid Parameter Name: EdgeColor
Thanks for sharing this. This is a bug that was fixed in MATLAB R2024a Update 5, released on 12 July 2024. hist3(X,[250 250],...
2 months 前 | 3
| 已接受
已发布
Animating Science: Creating Time-Sensitive Animations with MATLAB
Guest Writer: Gianluca Carnielli Gianluca is an application engineer at MathWorks based in Italy. While he supports MATLAB...
3 months 前
How do you set the Layout Option at construction for ui objects?
See David's answer in the thread below for a one-liner solution: https://www.mathworks.com/matlabcentral/answers/1977184-can-yo...
3 months 前 | 0
| 已接受
Change the background colour gradient.
The axes color property can only be set to one solid color. A workaround is to plot a patch with interpolated colors and to s...
3 months 前 | 1
| 已接受
loop plot add text to only one specific plot year
I recommend using xregion (requires R2023a or later) or xline (requires R2018b or later). With xline you can also include a tex...
4 months 前 | 0
How to remove decimal points in the Workspace
See format to set output display format. format shortg or if you always want 2 decimal places, format bank See full list o...
4 months 前 | 0