Réponse apportée
Children of axes after using yyaxis right
% Create the axes object ax = axes(); % Plot 'a' and 'b' using the same axes a = plot(ax, 1:10, 1:10, 'DisplayName', 'Test'...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
How to relabel contour and colormap labels to pre-natural log values
> I plot the natural log of my actual data, but I want the contour labels and colormap to reflect the actual data. > How can I ...

environ 3 ans il y a | 0

Réponse apportée
Remove data tips from Live Editor plots
> How can I remove it interactively? You could click on the black marker at the corner of the datatip indicating the clicked po...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
How do I remove vertical lines in graphs?
If you zoom into one of those vertical lines you'll see that they aren't vertical and they are a part of your data. Another w...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Problem changing tick label font size
We don't have enough information to troublehoot. One possibility is that the fontsize is not being applied to the intended ax...

environ 3 ans il y a | 0

Réponse apportée
plotting a feather plot for u and v component
If you zoom into your data, you'll see that you've got arrows. load('u10.mat') load('v10.mat') figure(); tcl = tiledlayout...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
I cannot remove the auto-reflow in the app designer
> However, doing so creates by default an app with auto-reflow, and when I try to disable it using CANVAS > Convert > App withou...

environ 3 ans il y a | 0

Réponse apportée
a little bug in function "plot/stem"
Reproduce the problem v = 1179080; a = ones(v,1); s = stem(a); xlim(v-[10,0]) ylim([0.9,1.1]) d = datatip(s,1179071,1...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
Axis font overlaps with axis line following .eps plot export
Thanks for sharing @Totilo. The problem is with the font, Latin Modern Roman. When I change the font to Arial, for example, the...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
How to use a user plotting function within an app
Specify the axes handle, testfunc(app.UIAxes,x,y1) function [] = testfunc(ax,x,y) %UNTITLED Summary of this function goes ...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
How to change colormap based on z axis instead of y?
This version assigns a solid color for each bar, based on bar height. z = randg(1,5,3); h = bar3(z); for i = 1:numel(h) ...

environ 3 ans il y a | 0

Réponse apportée
How do we plot this.
plot(t,x)

environ 3 ans il y a | 1

Réponse apportée
Errors in listener callbacks
> Is there a way to cancel this mechanism? to let the errors in listener callbacks become actual error messages? No, there isn'...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
How to put a figure window in the center of the screen?
> Is it possible to put a figure (for example a GUI window) in the center of the screen? | Use movegui movegui('center') or ...

environ 3 ans il y a | 4

Réponse apportée
my tab group in app designer doesn't fit in UIfig
Thanks for sharing an image. It looks like it fits in the figure space to me. Do you mean you intend it to fill the entire fig...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
For the following plots, colormap I have tried does not seem to be working.
The question is about cmap but cmap doesn't exist in you code so I assume cmap is a variable (or function) in arrow3D but I don'...

environ 3 ans il y a | 0

Réponse apportée
Does the statistics and machine learning toolbox include timeseries analysis?
> Does the statistics and machine learning toolbox include timeseries analysis? The Statistics and Machine Learning Toolbox sup...

environ 3 ans il y a | 0

Poll


Today, while using MATLAB, I'm going to....

environ 3 ans il y a | 16434 votes | 10 comments

Réponse apportée
Why does textbox have 3 reserved words?
Those are the exact locations of our MATLAB Online servers! 😀 j/k You may have also noticed the same information in our text pr...

environ 3 ans il y a | 2

| A accepté

Réponse apportée
how can I save a sound to disk in wav format?
audiowrite - see first example.

environ 3 ans il y a | 0

Réponse apportée
How to plot multiple graphs in one figure ?
> I want to plot two graphs in one figure Options are subplot tiledlayout with nexttile - preferred, starting in R2019b su...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
Extract brushed data programmatically
To get the coordinates of selected data points, you can follow the example in this answer. That answer shows that BrushData is ...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
how to make Plot a rectangle Using the XY Graph Block
See https://www.mathworks.com/help/simulink/ug/plot-circle-with-xy-graph.html

environ 3 ans il y a | 0

Réponse apportée
Plot a polygon on web world map
> Is there a way to plot a free hand polygon using drawpolygon function on web world map (webmap)? Polygon objects created in d...

environ 3 ans il y a | 0

Réponse apportée
Scroll to location within uidropdown
Currently there isn't a way to programmatically scroll within a DropDown list. Two workarounds could be to use a uilistbox or...

environ 3 ans il y a | 1

Réponse apportée
Matlab app designer error related to an array
The table appears to be empty (running from m-file) MQTTSignal = mqttclient('tcp://broker.hivemq.com','Port',1883) dataTT = re...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
How to left align YDisplayLabels in a heatmap
You can pad the labels with empty spaces so that all labels are the same length using labels={'aaaa','bbb','c'}; h1=heatmap(r...

plus de 3 ans il y a | 0

Réponse apportée
How to set color gradient based on z axis?
scatter3(X,Y,Z,S,C) hSc3 = scatter3(T.CED(ix),T.r(ix),T.E0(ix),36,T.E0(ix),'filled');

plus de 3 ans il y a | 0

Réponse apportée
I have the following signal with some peaks and some valleys. Is it possible to make the baseline zero?
Since you just want the baseline shift, you just need to fit the y-intercept which would be a 0-degree polynomial. Here's a de...

plus de 3 ans il y a | 0

Réponse apportée
How can I change the value of x and y axes?
You must be using mesh(Z) If you want to specify the x and y coordinates, use mesh(X,Y,Z). If x and y are in radians, convert...

plus de 3 ans il y a | 0

| A accepté

Charger plus