Réponse apportée
How to overlay two scatter plots over each other. Each with separate colour scales.
An axes can have only one Colormap, so you have three options: Hard-code RGB color values for one (or both) of your scatter obj...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Embed Video Application Within MATLAB Application
When you say "a separate window" do you mean: a separate figure window (from MATLAB) another MATLAB window of some sort (not a...

plus de 5 ans il y a | 0

Réponse apportée
Interplay between .Visible='off' and axis(app.UIAxes, 'off') in App Designer
This is a long-standing behavior of axes that was inherited by UIAxes. On most graphics objects, Visible does what you think it...

plus de 5 ans il y a | 0

Réponse apportée
Make UIAxes Background invisible or hide it in APP Designer
This behavior of uiaxes has changed in MATLAB R2020b. If you check the release notes for R2020b: BackgroundColor property of U...

plus de 5 ans il y a | 0

Réponse apportée
Background Color of UIAxes
This behavior of uiaxes has changed in MATLAB R2020b. If you check the release notes for R2020b: BackgroundColor property of U...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
When opening R2020b .mlapp file in R2018b, automatic conversion removes all UI elements and associated auto-generated code
This is a known bug in App Designer apps that are saved in MATLAB R2020b and loaded in R2019b or older. The bug will cause any ...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Polar plot in App Designer (Edit: Not possible April 2020)
At the moment the only way to use a polar axes within App Designer is to call the polaraxes command from within your code (such ...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
Plotting with datetime in App Designer
I suspect the issue you are running into is the default reset behavior of UIAxes. By default, the plot command calls newplot. T...

presque 6 ans il y a | 1

Réponse apportée
How to use colormap() for a vector of images X in order to display indexed images from vector X?
The issue you are encountering is that |displayData| is normalizing the image data so that the maximum value of each image is eq...

plus de 7 ans il y a | 0

Réponse apportée
How do I plot time (hh:mm:ss.000) vs samples as imported from a .csv file?
If you upgrade to R2018a, this process is a little more straightforward, but this code will work in R2016a. Step 1: Import yo...

plus de 7 ans il y a | 1

Réponse apportée
Difference in the behavior of transparency in R2015a and R2016a
The effect you see is because the patches overlap one another. The red patch overlaps both the green and the blue patch, so you ...

plus de 7 ans il y a | 0

Réponse apportée
Output of a mex file is not the same as the recursively-written computational routine
The problem is in these lines: //Getting a pointer to the real data in the output matrix outPUT = mxGetDoubles(plhs[0]);...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
How to read all text files in a folder with unknown number of files?
You can use the |<https://www.mathworks.com/help/matlab/ref/dir.html dir>| command to generate a list of files that match a spec...

plus de 7 ans il y a | 1

| A accepté

Réponse apportée
GUI handles disappear after calling script
The issue is your call to |<https://www.mathworks.com/help/matlab/ref/findobj.html findobj>| and the |<https://www.mathworks.com...

plus de 7 ans il y a | 1

| A accepté

Réponse apportée
GUI handles disappear after calling script
I'm having trouble running your example. I think you are missing some pieces, including the file |ScriptCalledByCallbackTest.m|....

plus de 7 ans il y a | 1

Réponse apportée
How to plot just a colorbar without plot?
A colorbar must be attached to an axes, so you have (at least) two options: # Create an axes, attach a colorbar, then make th...

plus de 7 ans il y a | 3

Réponse apportée
multi-line xvalues when making a heatmap with a matrix
The |heatmap| function currently doesn't allow multi-line x-value labels.

plus de 7 ans il y a | 0

Réponse apportée
How to change X and Y axis values on a heatmap.
Sorry I'm late to this question, but in case you are still looking for an answer to your second question ("Another question is h...

plus de 7 ans il y a | 0

A résolu


Add two numbers
Given a and b, return the sum a+b in c.

plus de 7 ans il y a

Réponse apportée
How can I combine two objects of different subclasses into the property of another class?
Your classes need to derive from the |<https://www.mathworks.com/help/matlab/ref/matlab.mixin.heterogeneous-class.html matlab.mi...

presque 8 ans il y a | 1

| A accepté

Réponse apportée
stacked histogram and xaxis issues
In order to use the |bar| command to plot a |histogram|, you need to specify the X-values when you call the |bar| command. For e...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
Zoomed in and inset histogram
Sounds like you have two questions: First Question: How do I "zoom in" a histogram? The answer depends on what exactly you...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
Unable to reverse the order of numbers on the Y-axis
Without being able to run your code this is just speculation, but it looks like you may be double-flipping your Y-axis tick labe...

presque 8 ans il y a | 0

Réponse apportée
GCA CurrentPoint with the DateTime Ticks on the X Axis
Because the |CurrentPoint| property stores x, y, and z all together in a single matrix, the |CurrentPoint| cannot reflect the mi...

presque 8 ans il y a | 5

| A accepté

Réponse apportée
Convert x-axis values to datetime
There is no documented way to directly change the ruler type, but you can do it by plotting |NaT| (not a time), for example: ...

presque 8 ans il y a | 0

Réponse apportée
How can i fix this "Attempt to execute SCRIPT settings as a function"?
It looks like you have installed a third-party toolbox called "psat" (Is this the "Power System Analysis Toolbox"?) that has a f...

presque 8 ans il y a | 3

Réponse apportée
Plot a moving dot inside a quiver plot that is constantly being updated
Regarding this line of code: scatter(H, Xball, Yball, 12, 'm', 'filled'); % will work but will keep showing all the balls ...

presque 8 ans il y a | 1

| A accepté

Réponse apportée
Why imhist do not run?
|<https://www.mathworks.in/help/images/ref/imhist.html imhist>| is part of the Image Processing Toolbox. Could the problem be th...

presque 8 ans il y a | 0

Réponse apportée
hi, i did GUI for image processing using matlab to see the running time. but i cannot show the running time in the gui, its only shown in the matlab command window. can anyone show me how to make it? please help me :(
Try |<https://www.mathworks.com/help/matlab/ref/tic.html tic>| and |<https://www.mathworks.com/help/matlab/ref/toc.html toc>|.

presque 8 ans il y a | 0

Réponse apportée
I determined the shape of the object in image, how i can determine the object's color?
Steve Eddins posted a series of blog posts that may help with this question: * <https://blogs.mathworks.com/steve/2010/12/17/...

presque 8 ans il y a | 1

| A accepté

Charger plus