Respondida
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...

alrededor de 2 años hace | 3

Respondida
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...

alrededor de 2 años hace | 0

| aceptada

Respondida
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. ...

más de 2 años hace | 2

| aceptada

Respondida
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 ...

más de 2 años hace | 2

Respondida
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...

más de 2 años hace | 0

| aceptada

Respondida
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...

más de 2 años hace | 0

| aceptada

Respondida
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...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 2

Respondida
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...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 1

Respondida
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$'; ...

más de 2 años hace | 1

| aceptada

Respondida
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...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 1

| aceptada

Respondida
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...

más de 2 años hace | 2

| aceptada

Respondida
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...

más de 2 años hace | 0

| aceptada

Respondida
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...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

| aceptada

Respondida
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...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 1

| aceptada

Respondida
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...

más de 2 años hace | 2

Respondida
Generic get/set methods for class properties
You may be able to do something like this by implementing subsref (and/or subsasgn), but it isn't for the faint of heart. Using...

casi 3 años hace | 1

Respondida
Extract 2d slice from a 3d matrix
If you have a 3-D matrix, and you want just a single X-Z slice, you probably need a mix of indexing and either shiftdim or permu...

casi 3 años hace | 0

| aceptada

Respondida
Precreated axes with datetime ruler and time zones
I believe the issue you are facing is that the XAxis has a specific time zone that is initialized when you first call any plotti...

casi 3 años hace | 0

| aceptada

Respondida
Time Series Plot X-Axis Values Wrong Timezone - help please!
I think the problem you are having is that the data, when read from ThingSpeak, creates a datetime object with no TimeZone speci...

casi 3 años hace | 0

Respondida
Incorrect TimeZone displayed on plot
I believe the issue you are facing is that the axes/ruler has a specific time zone that is initialized when you first call plot....

casi 3 años hace | 0

| aceptada

Respondida
.TimeZone data not applying to plot
I believe the issue you are facing is that the axes/ruler has a specific time zone that is initialized when you first call plot....

casi 3 años hace | 0

Respondida
How do I change the timezone of the X axis on an existing plot?
Starting in MATLAB R2023a, you can now update the time zone of the x-axis on existing plots by setting the ReferenceDate on the ...

casi 3 años hace | 1

| aceptada

Respondida
how to polar plot excel data in 2D?
Your current code: M = xlsread('AntennaA.xlsx', 'H2:H26'); Is only returning a single column of your matrix (column "H"). The...

casi 3 años hace | 1

Respondida
struct for multiple shapes with similar inputs
There are options for doing this without using classes, but I think classes is probably what you want to do. I'm not sure I fol...

casi 3 años hace | 1

Cargar más