Community Profile

photo

Adam Danz

MathWorks

Last seen: Today Active since 2014

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.

Pronouns:
He/him

Statistics

All
  • MATLAB Flipbook Mini Hack Participant
  • MATLAB Mini Hack 2022 Participant
  • Editor's pick for Answers
  • Knowledgeable Level 5
  • Solver
  • Personal Best Downloads Level 4
  • Explorer
  • Most Accepted 2021
  • MATLAB Mini Hack Participant
  • Revival Level 4
  • 36 Month Streak
  • Master

View badges

Content Feed

Answered
Get quiver plot arrows to connect up contour lines
Let's break this down into steps. This solution doesn't address all of the requirements in the question. Get the arrows to s...

ungefär 2 timmar ago | 0

Answered
How do I add transparency to a plot in the Live Editor?
When using RGBA values, the alpha value is not saved so when the figure loads, the color will lack transparency. Due to how fig...

2 dagar ago | 0

Answered
Plotting lines with quadruplets R-G-B-Alpha ?
> Is this documented anywhere? No, the 1x4 RGBA alpha-color option is not documented at this time. One reason is that the alp...

2 dagar ago | 0

| accepted

Answered
Stacked Plots - Changing the Location and Oreintation of the Display Labels (Y Labels)
Y-axis label rotation in stackedplot is addressed here. You could use the same approach to change the YAxisLocation to the righ...

3 dagar ago | 0

Answered
Rotating text to 90 degrees
It looks like you're working with embedded text. You may find this resource helpful: https://peterscarfe.com/rotatingText.htm...

4 dagar ago | 0

Answered
A 2D circle divided into 10 sectors in the 3D plot.
Creating a polar heatmap within Cartesian coordinates The basic idea is to create a polar grid centered under the data, plotted...

4 dagar ago | 0

Answered
Put Y-Ticks above bars in stacked horizontal bar chart
Annotations are tricky because they rely on coordinates that are normalized to the figure area rather than using data units. I...

4 dagar ago | 0

Answered
Disable figure generated code in Matlab R2023b
The subwindow you are describing only appears in the R2023b beta release found on the File Exchange. If you turn off the new de...

5 dagar ago | 1

| accepted

Answered
Count percentage of certain number in struct
Looks like @Voss hit the nail on the head. Another approach is to use groupcounts to tally the counts between the two groups....

5 dagar ago | 1

Answered
Save matrix in matlab and call for operations
Two common approaches to storing a set of matrices are to store them in a cell array or, if the matrices are the same size, to s...

6 dagar ago | 0

| accepted

Answered
How do I plot a timeseries?
Use readtimetable to create a timetable from your data file. If you're having problems with this step, provide a sample of your...

6 dagar ago | 0

Answered
How to include dependency in standalone app?
The MATLAB and Simulink compiler support page indicates that some functionality in the Audio Toolbox is not supported including ...

6 dagar ago | 0

| accepted

Answered
Data Tips in parallelplot
The only way to add content to the datatip in parallelplot is to do so interactively by right-clicking the datatip in parallelpl...

7 dagar ago | 1

Answered
Dark Mode not working : R2023b Update 6 win64 on Windows 10 1903
After installing the update, you need to press the "Try the New Desktop" button at the top of the MATLAB desktop window.

10 dagar ago | 0

Published


Creating a Flight Tracking Dashboard, Part 1: Visualizing an Aircraft
Guest Writer: Ken Deeley Ken is an application engineer in Cambridge, UK, supporting MathWorks users with their technical...

12 dagar ago

Thumbnail

Answered
uigetfile - forces main gui to go behind other windows
This is a known issue. See similar threads https://www.mathworks.com/matlabcentral/answers/473520 https://www.mathworks.com/m...

18 dagar ago | 0

| accepted

Answered
shade area between graphs
Another solution that may be helpful is the fillBetweenAreaCurve function offered by the MATLAB Charting team on the File Exchan...

22 dagar ago | 0

Answered
Fastest recursive search for files
Here's an Easter egg. I rarely answer non-MATLAB questions here but since I had to solve this today, I thought I'd share. Thi...

23 dagar ago | 0

| accepted

Answered
Odd behaviour when displaying fit results in UIAxes in App Designer (Matlab R2023b)
When plotting a cfit object using plot(ax,cfit) the x-values for the line are selected based on the axes limits. Every time you...

26 dagar ago | 1

| accepted

Answered
How to get a scatterhistogram in an UIAxes (e.g. Matlab App)?
Scatterhistogram creates a figure with 3 axes. You can expecify where those 3 axes should be using the optional parent argument:...

27 dagar ago | 1

| accepted

Answered
How to plot two figures side by side in a same plot?
tiledlayout and subplot do not work together. They each offer a means of adding multiple axes to a figure. Tiledlayout is the ...

27 dagar ago | 1

Answered
How to update rfplots
I'm not quite sure how to interpret the problem. Here are two guesses. > if the plots are to be updated, they will be added ...

27 dagar ago | 0

Published


Plotting with Style: Synchronizing Color and LineStyle with SeriesIndex
Guest Writer: Eric Ludlam Joining us again is Eric Ludlam, development manager of MATLAB’s charting team. Discover more...

29 dagar ago

Thumbnail

Published


Creating Ridgeline Plots: From Pulsars To Pop Culture
In 1979, an English rock band produced what Rolling Stone would describe as one of the best albums of all time with an...

ungefär en månad ago

Thumbnail

Answered
Strings are converted to cells during readtable
When using the readtable(filename,opts,Name,Value) syntax, only a limited number of name-values pairs are available as input ar...

ungefär 2 månader ago | 1

Answered
Show image when i use dropdown button
You need to specify the axes handle so the image is generated in the intended axes. For example, image(app.UIAxes,__) images...

ungefär 2 månader ago | 1

Answered
How to plot biggest positive and negative difference as a lines?
I believe the task is to create two lines, one that connects the biggest increase and one the connects the biggest decrease betw...

ungefär 2 månader ago | 0

Answered
Zero Padding a Table
Starting in MATLAB R2023b, you can use paddata to pad tables. LastName = {'Sanchez';'Johnson';'Li';'Diaz';'Brown'}; Age = [3...

ungefär 2 månader ago | 0

Answered
How can I create randomly scattered points between two circles?
Your solution is fine. a = 4; b = 10; N = 1000; r = a + (b-a) * rand(N,1); th = 2*pi * rand(N,1); x = r.*cos(th); y =...

ungefär 2 månader ago | 3

Answered
How can I stack two bars next to each other on top of a single bar in a bar graph?
Is this what you're looking for? I don't know what "distance V1" is. The only change I made was to add "stacked" to this lin...

2 månader ago | 0

Load more