Answered
Average Optical Flow vectors and plot over multiple frames
Here's a demo that shows how to Store the flow structure within a loop (assumes all flow arrays are the same size) Average a ...

5 years ago | 0

| accepted

Answered
How to extract a slider value?
See the value property in the slider documentation.

5 years ago | 0

Answered
How to delete/remove last row from .txt file in a for loop?
The description is vague for reasons outlined in Jan's comment. List path to all text files. See dir. Read in the text file. ...

5 years ago | 0

| accepted

Answered
Cernter of gravity.
Learn about Center of Mass equations here khanacademy hyper physics

5 years ago | 0

| accepted

Answered
How to check if handle is to a deleted axes?
How to check if graphics handle is to a deleted object? Let's look at some options and decide which is best. Deleted handles...

5 years ago | 0

Answered
Multiple legends on Axes in App Designer?
Only one legend can be associated with a pair of axes. When a second legend is assigned to axes, it replaces the first one. I...

5 years ago | 1

Answered
Bivariate colormap (let the colors indicate the average of third vector for each bins)
> I want to create a bivariate colormap using X and Y. However, instead of making the colors indicate the frequency or bin count...

5 years ago | 1

| accepted

Answered
changing interactionplot font size
Assuming no other text objects exist in the figure, figHandle = interactionplot(___) txtHandles = findobj(figHandle,'type','t...

5 years ago | 1

| accepted

Answered
How can I put a symbol (~) above a letter?
An alternative to using LaTeX to represent a diacritical character in a text object is to use a combining character to join a gl...

5 years ago | 1

Answered
Scatterhist: width of Boxplot
> I'd like the width of the left boxplot to be the same as the height boxplot below the scatter plot [in scatterhist] Key point...

5 years ago | 0

| accepted

Answered
Tiled layout with boxplot and 'Padding', 'none'
Why this is happening The boxplot function uses a local function setLabelappdata() to adjust the axes' OuterPosition, PositionC...

5 years ago | 1

| accepted

Answered
Is it possible to have larger (than 16-by-16) pointer size?
> Is there anyway that I can make the pointer larger than 16-by-16? Update: Starting in r2016b PointerShapeCData can be 16x16 o...

5 years ago | 1

Answered
How do I find built in sounds?
See Example Audio Data toward the bottom of this list. help audiovideo To find the location of a file, which chirp.mat

5 years ago | 1

| accepted

Answered
Is it possible to Plot a Music Visualizer?
If you search the internet for "matlab audio analysis" you'll see very many relevant hits across many platforms. Plus, there's ...

5 years ago | 0

| accepted

Answered
Binning a 3D scatter plot
3D density plot demos Here's an assortment of 3D density visualizations though there are many other ways to visualize 3D densit...

5 years ago | 4

| accepted

Answered
change color in uilable
The FontColor property of uilabel affects the entire label. There is no built-in method of coloring parts of labels. As a wo...

5 years ago | 0

| accepted

Answered
Order of legends in stacked bar plot
Stacked bars are stacked upward. That means the bottom layer of bars show column 1 of the input matrix and the top later of bar...

5 years ago | 7

Answered
xlim listener for zoom reset and linkaxes strange behavior
Starting in r2021a, you can supply a LimitsChangedFcn function the x-axes (or any of the x/y/z axes). This callback function ov...

5 years ago | 1

Answered
readjusting Y limits on subplots
Another approach is to use linkaxes to link the y-axis limits of all subplots. When combined with axis tight, that y-axis range...

5 years ago | 0

Discussion


New in R2021a: LimitsChangedFcn
*New in R2021a, |<https://www.mathworks.com/help/matlab/ref/matlab.graphics.axis.decorator.numericruler-properties.html#bun6izd-...

5 years ago | 6

Answered
How to apply a colormap to rgb image ?
As the error message indicates, for the syntax colormap(target,map), target is an axis handle but you're not supplying an axis h...

5 years ago | 1

| accepted

Answered
I am wondering if this a no output no input function. If it is not what type of function is it?
Functions do not have to have inputs or outputs. For example, this function below searches for invisible figures and makes th...

5 years ago | 0

Answered
Use two colormaps on 3D figure.
Follow this demo. The colorbar ranges approximately from -6 to 8 and the transition between Winter and Summer colormaps happens...

5 years ago | 1

| accepted

Answered
Resorting Rows in a Table with Panel Data
See sortrows. If there are any problems implementing that function, show us what you've got and we can help straighten it out...

5 years ago | 0

| accepted

Answered
App designer - how to use numpad instead of number keys?
Place a break point at the top of the UIFigureKeyPress function. Press a numpad key and look at the value of event.Key to deter...

5 years ago | 1

| accepted

Answered
How to add spaces between bars on a histogram
> I would like to add a space between each bar of the histogram, with x axis of the graph being integer numbers. Sounds like yo...

5 years ago | 1

| accepted

Answered
Constant subplot size and variable figure size
I used to use that file exchange function and it has been very useful but tiledlayout is now the better option. Here's a summar...

5 years ago | 0

Answered
how to zoom on a figure with multiple axes
Multiple axes with same axis limits If the xlim and ylim properties are the same between both axes, use linkaxes or linkprop to...

5 years ago | 3

| accepted

Answered
Return variables or elements with similar corresponding values
I'm currious what you searched for. Are you looking for a Matlab function that reads in an excel file that has two columns of d...

5 years ago | 0

| accepted

Answered
Saving figure as a image
Comparing the two png files in one of your previous comments shows an upper y axis in one figure that doesn't exist in the secon...

5 years ago | 0

| accepted

Load more