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

alrededor de 3 años hace | 0

| aceptada

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

alrededor de 3 años hace | 0

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

alrededor de 3 años hace | 0

| aceptada

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

alrededor de 3 años hace | 0

| aceptada

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

alrededor de 3 años hace | 0

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

alrededor de 3 años hace | 0

| aceptada

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

alrededor de 3 años hace | 0

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

alrededor de 3 años hace | 1

| aceptada

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

alrededor de 3 años hace | 1

| aceptada

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

alrededor de 3 años hace | 0

| aceptada

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

alrededor de 3 años hace | 0

Respondida
How do we plot this.
plot(t,x)

alrededor de 3 años hace | 1

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

alrededor de 3 años hace | 0

| aceptada

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

alrededor de 3 años hace | 4

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

alrededor de 3 años hace | 0

| aceptada

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

alrededor de 3 años hace | 0

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

alrededor de 3 años hace | 0

Poll


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

alrededor de 3 años hace | 16434 votes | 10 comments

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

alrededor de 3 años hace | 2

| aceptada

Respondida
how can I save a sound to disk in wav format?
audiowrite - see first example.

alrededor de 3 años hace | 0

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

alrededor de 3 años hace | 1

| aceptada

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

alrededor de 3 años hace | 1

| aceptada

Respondida
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

alrededor de 3 años hace | 0

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

alrededor de 3 años hace | 0

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

alrededor de 3 años hace | 1

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

alrededor de 3 años hace | 0

| aceptada

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

alrededor de 3 años hace | 0

Respondida
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');

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

| aceptada

Cargar más