Feeds
Display the exact selected area by zooming in on a surface/image
I downloaded your FIG-file, and it looks like the axes inside has a manually specified DataAspectRatio and PlotBoxAspectRatio. W...
11 days 前 | 0
plot 2-dimention sphere in 3-D space
I wonder if what you are looking for is the alphaShape command. Check out the documentation and see if it satisfies your require...
11 days 前 | 0
How to change in marker size in the global legend?
The only documented way to modify the legend items independently from the contents of the axes is to create "dummy" objects with...
11 days 前 | 2
How to zoom a figure and show the details?
One way to do this is using tiledlayout. im = imread('peppers.png'); t = tiledlayout(20,20); % Create one big axes that fil...
1 month 前 | 0
Prevent Matlab from updating the legend when saving a figure
By using the EntryContainer and NodeChildren properties, you are accessing the undocumented internal implementation details of t...
1 month 前 | 1
Why do I receive numerous nonexistent warnings after upgrade installation?
To build on what @Walter Roberson said: Most likely you have a duplicate copy of pathdef.m that is shadowing the correct versio...
1 month 前 | 0
Read a userid file and search for userid.json in directory and then search json file
I suspect you want to use the dir command to get a list of files in the directory, remove ".json" from the end of the file names...
2 months 前 | 0
| 已接受
A (simple) way to use ismember between datetime arrays with different formats
I think the function you are looking for is dateshift. A = datetime(... ['19-Jun-2023', '20-Jun-2023', '21-Jun-2023...
2 months 前 | 1
| 已接受
How to draw an uncertain number of sub-images in one coordinate in app designer?
I'm not sure what you mean by "one coordinate", but the way I would create the diagram above in App Designer would be: When des...
3 months 前 | 0
Getting screen resolution on Windows 11
Note that this is undocumented and not guaranteed to work indefinitely, but there is a property on all figures called ScreenPixe...
3 months 前 | 0
How can I make x and y axis dates with contour?
In addition to @the cyclist's solution, there is another approach that leverages the newer datetime rulers, but is still a bit o...
3 months 前 | 0
pie chart creation with name (number) and corresponding percentage
It is worth checking out the new (as of R2023b) piechart command. You can read about it here: https://blogs.mathworks.com/graph...
4 months 前 | 1
How to change distance between groups of bars in a bar plot?
Starting in R2024a, you can now customize the width of each group of bars using the new GroupWidth property. For example: next...
4 months 前 | 0
| 已接受
Change distance between grouped bars (bars are overlapping)
Starting in R2024a, you can now customize the width of each group of bars using the new GroupWidth property. For example: y = ...
4 months 前 | 0
| 已接受
Is it possible to set the size of the gap between grouped bars in a bar graph?
Starting in R2024a, you can now customize the width of each group of bars using the new GroupWidth property. For example: coh ...
4 months 前 | 1
can MATLAB render 10-bit images in a 10-bit TV?
As of R2024a, this MATLAB Answers post is still accurate: Does MATLAB support 10-bit or 12-bit monitors? When you create an Ima...
4 months 前 | 0
| 已接受
imagesc Vs pcolor Vs contourf for large arrays?
My recommendation would be to use imresize to reduce the number of rows/columns in your array before you plot it. Whether you u...
5 months 前 | 0
Animation of PATCH-Figure
There are two issues with your code: You are calling patch repeatedly, which is adding a new patch in each loop, without removi...
6 months 前 | 0
| 已接受
unable to adjust real time views of surf plots in plot-drawnow animations
@Vinayak has the right idea, although pause should be unnecessary and drawnow is definitely the preferred approach. drawnow wil...
6 months 前 | 1
Passing real time plot data from a Matlab function to App Designer for plotting
There seems to be at least three difficulties you are running into: One is about calling the axis command without specifying an...
7 months 前 | 1
| 已接受
Parrallel Coordinate Plot set tick label intepreter to LaTeX
As the warning states, by calling struct on the object, you are accessing the internal implementation details of the chart, and ...
7 months 前 | 1
| 已接受
exportgraphics with ContentType vector does not work properly
Based on your description of the issue, my guess is that: Your figure is fairly complicated. Which means that exporting into a...
7 months 前 | 1
| 已接受
How to draw a radar search volume in 3D?
You are on the right track. To start with, you can use fsurf without needing to use symbolic expressions, you just need to swit...
7 months 前 | 1
| 已接受
How to find more than one string using find - strcmp?
There are several options to accomplish this goal. I'm assuming that the output from {EEG.event.code} is a cell-array of charac...
7 months 前 | 1
| 已接受
MATLAB 2023b Can not open apps made in MATLAB 2023b, and startup error
I would check for errors in your startup.m or pathdef.m. Specifically, what is the output from: which -all pathdef Compare th...
7 months 前 | 0
| 已接受
Plot both global and local legend
Your hidden axes (and global legend) needs to have the tiledlayout as a parent. X = rand(5); Y = rand(5); figure tcl = tile...
7 months 前 | 1
| 已接受
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...
7 months 前 | 0
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...
7 months 前 | 1
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...
7 months 前 | 0
| 已接受
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...
8 months 前 | 5
| 已接受