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

7 Monate vor | 1

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

7 Monate vor | 1

| akzeptiert

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

8 Monate vor | 0

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

8 Monate vor | 1

| akzeptiert

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

8 Monate vor | 2

| akzeptiert

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

9 Monate vor | 0

| akzeptiert

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

9 Monate vor | 0

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

10 Monate vor | 0

| akzeptiert

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

10 Monate vor | 0

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

11 Monate vor | 1

| akzeptiert

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

11 Monate vor | 1

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

12 Monate vor | 0

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

12 Monate vor | 0

| akzeptiert

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

etwa ein Jahr vor | 0

| akzeptiert

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

etwa ein Jahr vor | 0

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

etwa ein Jahr vor | 0

| akzeptiert

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

etwa ein Jahr vor | 0

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

etwa ein Jahr vor | 1

| akzeptiert

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

etwa ein Jahr vor | 1

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

etwa ein Jahr vor | 1

Beantwortet
Error in function streamline: interp1 sample points must be unique.
The issue you are having is the form of your X and Y data you are providing as input to streamline. The streamline doc page says...

etwa ein Jahr vor | 1

Beantwortet
Join Multiple Tables horizontally (can have duplicate variables) in which some tables might be empty.
If your goal is to simply concatenate two tables, such that the first row of each table is combined into the first row of the ou...

etwa ein Jahr vor | 0

Beantwortet
how to read serial pixel data into matrix without having to perform transpose operation
I can't think of any operation that can scale and transpose the data simultaneously, short of writing your own MEX function, whi...

etwa ein Jahr vor | 0

Beantwortet
timer doesn't work
@Walter Roberson already pointed you to the documentation on how to Share Data Between Workspaces, which provides several ways t...

etwa ein Jahr vor | 0

| akzeptiert

Beantwortet
Filled contour plot on other planes (X-Z or Y-Z)
contourf works fine when used with an hgtransform, except it is not updating the automatically selected limits correctly, so you...

etwa ein Jahr vor | 1

| akzeptiert

Beantwortet
String convertion to date
Note, I don't speak Spanish, so I'm not sure of the proper user of "de" and "del", so this answer may need to be adjusted. I su...

etwa ein Jahr vor | 1

Beantwortet
Locking the Legend even if the object is deleted
As @Bjorn Gustavsson suggests, your best bet is to create proxy objects that are represented in the legend, but are not visible ...

etwa ein Jahr vor | 0

| akzeptiert

Beantwortet
How to close a figure used for keypress function?
As @W. J. stated, your code seems to run fine if you just remove the call to UserFeedback from after the call to waitfor. Alter...

etwa ein Jahr vor | 0

| akzeptiert

Beantwortet
How to use multiple colorbars on one figure?
There are two concepts that I think you may be confusing: The colormap which is a set of colors used to map from data to color....

etwa ein Jahr vor | 2

| akzeptiert

Beantwortet
Figure Subplot Tiles Customization
I don't see an attached picture, but I think I understand what you are trying to do. First, I recommend trying tiledlayout inst...

etwa ein Jahr vor | 1

| akzeptiert

Mehr laden