Community Profile

photo

Adam Danz

MathWorks

Last seen: Today Actif depuis 2014

Followers: 4   Following: 13

Contact

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

Statistiques

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

Afficher les badges

Feeds

A répondu
One legend for a group of subtightplots
That FEX function subtightplot is very useful but since R2019b you can use tiledlayout instead and since R2020b, tiledlayout sup...

environ 23 heures il y a | 1

| A accepté

A répondu
Why are my error bars multicoloured with no line?
Understanding array size compatibility errorbar, like plot, supports mixed array sizes in input arguments as long as the sizes ...

1 jour il y a | 0

A répondu
How to erase a specific elements for the name of string values and then replace them?
Assumptions: "Temp_06_02_24_10_39_34 = 32"; is a string This is not a variable name The month is in the 2nd numeric positio...

7 jours il y a | 1

| A accepté

A répondu
How to make sparsity pattern graph with grouping
Using pcolor This solution uses pcolor and converts the table of 0s and 1s into grouping values that are used to assign color t...

7 jours il y a | 2

A répondu
UIalert icon disappears in deployed application
Thanks for reporting this, David. We are aware of the problem. Stay tuned for updates.

7 jours il y a | 0

| A accepté

A répondu
Plot of histogram and probability distribution function.
To equate the colors between the histogram and line pairs, access the object handles from the plot output and then set the Serie...

12 jours il y a | 0

| A accepté

A répondu
Subplot x-axis
Use linkaxes to link the two x axis limits. When the limits of one x-axis changes, the other will adjust. I made 6 changes to...

12 jours il y a | 0

| A accepté

A répondu
How to have a different interval between xticks and xticklabels on a datetime plot?
The x_period_dates variable is all you need. It's a datetime vector containing all of the dates at midnight. You just need to ...

12 jours il y a | 0

| A accepté

A répondu
How to draw an histogram?
> How do I draw an histogram knowing the number of times all elements in a 150x150 matrix appears using matlab? Both histogram ...

21 jours il y a | 0

| A accepté

A répondu
Given a contour plot is there a function which returns a matrix corresponding to the density of lines at a given (x,y) coordinate?
No, there is not a function that computes the density of contour lines. However, you could build such a function. First, you...

21 jours il y a | 1

| A accepté

A répondu
How to update vehicle's state variable in simulator?
I think the choice between the two options depends on a few factors. Relying on the state space equation (x'=Ax+Bu) involves c...

22 jours il y a | 0

A répondu
Plotted patch changes size
Cause of the problem Indeed you are setting the patch location based on the ylimits but you are not setting the ylimits. After...

22 jours il y a | 1

| A accepté

A répondu
Create mean y values by multiple groups in one graph
Use groupsummary to compute the means of each group. Then plot the results using bar() with categorical x values. This assumes...

22 jours il y a | 0

A répondu
Plot a time series plot in customized rectangle
Previous answers suggest changing the size of the figure window which is one solution. Another solution is to set the size of...

22 jours il y a | 1

| A accepté

A répondu
Generate 3D histogram while capping the height of bars
How to cap the height of a 2D histogram without affecting the max color for each bar This is tricky because hist3 does not retu...

23 jours il y a | 0

A répondu
Change Colors of Multiple Objects Efficiently in AppDesigner with Switch
Looks like you're creating an exciting custom theme for your app @Brianna Billingsley! Here are some strategies to reduce the ...

25 jours il y a | 1

| A accepté

A répondu
How to unfade legend placed on an empty (invisible) plot?
It's much better to use tiledlayout than subplot. With tiledlayout, the placement of the legend and the global title can be par...

26 jours il y a | 0

A répondu
Data not aligned after zooming into figure using plotyy
plotyy is not recommended. Instead, use yyaxis which replaces plotyy. I've converted your code below. yyaxis does not have th...

environ un mois il y a | 2

| A accepté

A répondu
"The MathWorks" or simply "MathWorks"?
According to this MathWorks Brand Guidelines page, use MathWorks to refer to the company. The legal name of the company is The ...

environ 2 mois il y a | 1

A répondu
Graph lines not showing
max_value_refA = max(out2.Q_i_ref); avg_value_refA = mean(out2.Q_i_ref); yline(max_value_refA, '--k') yline(avg_value_refAm...

environ 2 mois il y a | 0

A répondu
How to show multi data probability densities in one axes?
Plotting two binscatters in one axes This solution does the following: overlay two axes in tiledlayout link the axes limits ...

2 mois il y a | 0

A répondu
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...

2 mois il y a | 0

A répondu
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 mois il y a | 0

| A accepté

A répondu
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 mois il y a | 0

| A accepté

A répondu
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...

2 mois il y a | 0

A répondu
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...

2 mois il y a | 0

A répondu
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...

2 mois il y a | 0

A répondu
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...

2 mois il y a | 0

A répondu
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...

2 mois il y a | 1

| A accepté

A répondu
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....

2 mois il y a | 1

Charger plus