Community Profile

photo

Adam Danz


Last seen: Today

University of Rochester

2 551 total contributions since 2014

Email: feel free to contact me regarding my shared files on the file exchange. I don't do free consulting outside of the forum so if you have a Matlab question, post the question to the forum and you may email me the link to the question.

About me: Finishing PhD soon on topics related to vision science; neurophysiology; sensory-motor feedback and control; control systems; steering & navigation; multisensory integration; top-down bottom-up feedback loop.

"If I had only one hour to save the world, I would spend fifty-five minutes defining the problem, and only five minutes finding the solution." -Albert Einstein

"An expert is a person who has made all the mistakes that can be made in a very narrow field." -Niels Bohr

"If you are not embarrassed by the first version of your product, you've launched too late" - Reid Hoffman

Contact

Adam Danz's Badges

  • Thankful Level 4
  • 24 Month Streak
  • Personal Best Downloads Level 4
  • Explorer
  • Ace
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Revival Level 3
  • Knowledgeable Level 4
  • Solver
  • First Answer

View details...

Contributions in
View by

Answered
sum of row in pattern
Data= [ 1 4 0.0000; 2 7 0.0000; 3 9 0.0000; 4 5 0.1760; ...

environ 4 heures ago | 0

Answered
Bar diagram as subplot in a for loop from a cell
The goal is unclear but I think this is what your looking for, number = numel(data); for i = 1:number p{i} = polyfit(x_...

environ 4 heures ago | 0

| accepted

Answered
How do I change the order of objects in the App Designer component browser?
For Matlab r2020b and later, the stack order of UI components can be changed using the reorder tool (see release notes). For ...

environ 5 heures ago | 0

Answered
stackedplot and linear fit
> i was just wondering if they was any way i could put a linear fit line and get its data from stackedplot? If you're creating ...

4 jours ago | 0

| accepted

Answered
How do I change the size of subplots in stackedplot
You can get the axis handles of stackedplot using the undocumented NodeChildren property. Use flipud to set the axis handles in...

9 jours ago | 0

Answered
How to use stackedplot in app designer ?
> Is there any way to use stackedplot with UIAxes in app designer Yes. Parents of stackedplot can be set to Figure object |...

9 jours ago | 0

Answered
Insert text in stacked plot points
stackedplot does not return the axis handles which is needed to place the text objects but you can get the axis handles using th...

9 jours ago | 0

Answered
Latexlabels and Legend Location in Stackedplot
> I want my y-labels to be interpreted by latex See this answer. > I want to make my Legend horizontal above the plot. We...

9 jours ago | 0

Answered
table stackedplot with log y-axis
You can set the scale of the y-axis in stackedplot using the undocumented NodeChildren property. However, the vertical reference...

9 jours ago | 0

Answered
Zooming and linking axes when using 'stackedplot'
>Is it possible to use the interactive zoom function with a stacked plot? Yes, zoom interaction is on by default in stackedplot...

9 jours ago | 0

Answered
Combining two stacked plots
Seth Furman's suggestion to concatenate the data prior to creating the stackedplot is a good approach. If that is not an option...

9 jours ago | 0

Answered
linkaxes of different stackedplots
I found a solution (weeks later) using the undocumented NodeChildren property to get the axis handles. Instead of using the su...

9 jours ago | 0

Answered
labels of stacked plot
>The ylabels are aligned horizontally. I'd like to know how to align vertically. See this answer. > Also , how can we define...

9 jours ago | 0

| accepted

Answered
Add xline equivalent to stackedplot?
You can get the axis handles in stackedplot using the undocumented NodeChildren property. Then use xline to add vertical referen...

9 jours ago | 0

| accepted

Answered
stackedplot without yticklabels?
See this answer for an undocumented method of change the ytick values in stackedplot. To clear the ticks, you'll change the la...

9 jours ago | 1

Answered
Is it possible to change stackedplots background color?
You can get the axis handles in stackedplot using the undocumented NodeChildren property. Then change background color. rng('de...

9 jours ago | 1

Answered
Rotate stacked plot Labels to have them vertical - App Designer
You can get the axis handles in stackedplot using the undocumented NodeChildren property. Then rotate and center the labels. r...

9 jours ago | 0

Answered
Change yticks using a stacked plot
You can get the axis handles in stackedplot using the undocumented NodeChildren property. Then set YTick. rng('default') h = s...

9 jours ago | 0

Answered
How to reverse x-axis in a stacked plot.
You can get the axis handles in stackedplot using the undocumented NodeChildren property. x = [4 3 2 1]; y = [2 3 4 5; 3 4 5 6...

9 jours ago | 0

Answered
Distance between points in a table
>I have a table containing the (x,y) coordinates and I need to find the distance between each point [without using pdist | pdist...

9 jours ago | 0

Submitted


stackedaxes() - an alternative to stackedplot
STACKEDAXES produces stacked plots similar to Matlab's stackedplot() but returns graphics handles allowing the user to modify th...

10 jours ago | 3 downloads |

Thumbnail

Answered
Highlight y-max
plot(x_val,y_val); hold on; [~,idx] = max(y_val); plot(x_val(idx),y_val(idx),'r*') text(x_val(idx),y_val(i...

10 jours ago | 0

| accepted

Answered
Number of digits in heatmap plot
I think what you mean is that your heatmap values contain 2 decimal places except for integer value and you want to include two ...

10 jours ago | 0

| accepted

Answered
data loop for matlab
Read data in as a table (see readtable) Convert the year-month-day columns to a single datetime vector and convert the table to...

11 jours ago | 0

| accepted

Answered
How to plot f: y=e^-x.sin^2x function in matlab?
Errors to fix (numbers refer to the characters above the numbers) f: y=e^-x.sin^2x % 1 2 34 5 f: is not valid matla...

11 jours ago | 2

Answered
why wont my code show my line in the plot?
The code works well if you remove the last line. Note that y-limit of your plot is 25000-50000. The last line of your code is ...

11 jours ago | 0

Answered
How to code so that the person can not press enter to continue?
Create a local function to continually prompt the user as long as the response is empty. The "inputWrapper" function will be ad...

11 jours ago | 0

| accepted

Answered
Problem with break statement
> ...shouldn't it end the 2nd for loop since if statement is under 2nd for loop... ? Yes, it should end the 2nd loop and that's...

11 jours ago | 0

| accepted

Answered
Как вырезать одну поверхность из другой? / How to cut out one surface from another?
Привет Павел > я хочу получить квадрат с дырой внутри от круга > i want to create a square with a hole inside from the circle ...

11 jours ago | 2

| accepted

Answered
Looking to flip plot
Flip the xdot, ydot vectors and their sign [x, y] = meshgrid(-2.5:.5:2.5, -2.5:.5:2.5); xdot = (-1*x) + (2*y); ydot = (-1*x)...

11 jours ago | 0

Load more