Answered
Changing plot in app designer
I believe that you will need to leverage something like a timer to accomplish this goal. Check-out this example on our doc page...

10 months ago | 0

Answered
how to xlimit for 3 different plot in 1 figure?
In your comment you said "I have figure file not the data." So, starting with a FIG-file, you first need to find the axes withi...

10 months ago | 1

Answered
How can I make colormap operate faster
Your guess about the behavior of the colormap command is incorrect. When you change the colormap, each individual rectangle is r...

10 months ago | 0

| accepted

Answered
2023b update 5 is slower
Update releases include primarily small bug fixes, and as such if they have any impact on the performance of MATLAB, they are li...

11 months ago | 5

| accepted

Answered
Strange warning regarding accuracy of computation in Matlab ?
Consider these two numbers: 100 and 101 If 100 is the "correct" answer, then 101 has an absolute error of 1 and a relative er...

11 months ago | 2

| accepted

Answered
How to add top and bottom x-axes labels to a heatmap?
If you check out this other question on MATLAB Answers: https://www.mathworks.com/matlabcentral/answers/378670-move-x-axis-label...

11 months ago | 1

| accepted

Answered
Array of ASCII Characters to String
The issue with your current code is that on line 2 you need to initialize word2 as a character vector instead of a double vector...

12 months ago | 0

Answered
xlabel/ylabel 'HorizontalAlignment' issue
The object used for the X-label and Y-label is the same text object that is created by the text command, and is a general purpos...

12 months ago | 4

Answered
move x axis labels on a heatmap to the top
If you want to do this using documented approaches, you can use a tiledlayout to position an axes below the heatmap, and the man...

1 year ago | 3

Answered
Move axes in 3D plot
Unfortunately, the XAxisLocation and YAxisLocation properties only work for 2D axes. Which means your only option is to draw th...

1 year ago | 0

| accepted

Answered
How can I remove the tooltip from the exported figure?
This banner should only appear when you first move your mouse over the figure, and it should only remain visible for 5 seconds. ...

1 year ago | 2

| accepted

Answered
what is subplot and how to use it?
If you are using MATLAB R2019b or later, you should consider using tiledlayout and nexttile instead of subplot. tiledlayout and ...

1 year ago | 2

Answered
How do you make the x-axis in imagesc using datetime values?
Starting in MATLAB R2023b, both the image and imagesc commands support datetime and duration data for the XData and YData proper...

1 year ago | 0

| accepted

Answered
How can I italicize the label of a heatmap?
Heatmap does allow you to customize the X and Y tick labels, by setting the XData and YData properties (alternatively, you can s...

1 year ago | 0

| accepted

Answered
Subscripts and supercripts in heatmap axis labels
Starting in MATLAB R2023b, the HeatmapChart now has an Interpreter property. h = heatmap(magic(4),'Interpreter','latex','CellLa...

1 year ago | 0

Answered
LaTex interpreter in Heatmap ax-label
Starting in MATLAB R2023b, the HeatmapChart now has an Interpreter property. h = heatmap(rand(30)); h.XLabel = '$M_{1}$'; h.Y...

1 year ago | 1

| accepted

Answered
Heatmap title - Interpreter (AppDesigner)
Starting in MATLAB R2023b, the HeatmapChart now has an Interpreter property. h1 = heatmap(magic(4)); h1.Title = 'file_name'; ...

1 year ago | 1

Answered
latex interpreter in Heatmap title
Starting in MATLAB R2023b, the HeatmapChart now has an Interpreter property. M = zeros(5,5); Xax = 1:5; Yax = 1:5; h = heatm...

1 year ago | 0

Answered
Latex formatting on heatmaps (labels, title and all other text)
Starting in MATLAB R2023b, the HeatmapChart now has an Interpreter property. xvalues = {'20 $^\circ$C','30 $^\circ$C','40 $^\ci...

1 year ago | 1

Answered
How to change text interpreter of HeatmapChart?
Starting in MATLAB R2023b, the HeatmapChart now has an Interpreter property. h = heatmap([1 3 5; 2 4 6]); h.Title = '$x^y$'; ...

1 year ago | 1

| accepted

Answered
Plotting on matlab app panel does not update the tick labels but it overlaps them
You did not share all the code of your app, but based on your pictures, the issue looks like you are creating multiple axes, and...

1 year ago | 0

Answered
Matlab figure: Keeping same font when opening figure in matlab figure window
The figures within the Live Editor (and figures created by the uifigure command) are using web graphics for rendering, while fig...

1 year ago | 1

| accepted

Answered
How to pop-out figure from tiled figure in editor (2022b)
I don't believe there was ever an icon that allowed you to pop-out one axes from within figure and create a new figure, but it w...

1 year ago | 2

| accepted

Answered
How can I make an animating plot moving with the speed I predefined?
This is a very basic/crude example, but it shows some basic concepts: y0 = 0; % Starting location v0 = 100; % Starting velocit...

1 year ago | 0

| accepted

Answered
Unrecognized function or variable 'findobj'.
findobj is a built-in function and as such should "just work". The only thing I can think is that perhaps you accidentally shado...

1 year ago | 0

Answered
No API supports functions `bar` and `legend` in multi-figure
You can only have one legend entry per bar object, and each of your calls to the bar command creates only one bar object. You h...

1 year ago | 0

| accepted

Answered
Set figure coordinates by clicking on it
See if ginput does what you need. There are a few examples on the doc page. I'm pretty sure you can replace the word capturepoi...

1 year ago | 0

Answered
one of the colorbars is going out of the figure window
The issue you are running into is due to this line of code: linkprop([ax(1), ax(2)], {'XLim', 'YLim','Position', 'View'}); Tha...

1 year ago | 1

| accepted

Answered
Is it possible to plot a curve with changing colours under a single plot?
As others have noted, you cannot use the plot or line commands to create a multi-color line in MATLAB today, but this is possibl...

1 year ago | 1

Load more