Respondida
Can't clear workspace from GUI in Matlab 2025a
I'm not sure why Clear Workspace is not available, but have you tried the clear command? Just run this in the command window: ...

alrededor de 1 año hace | 1

Respondida
Inheritance, abstract and constant properties.
Based on this statement: What I really want is: #define foo (1) #if MY_SW_VERSION > 1 #define baz(2) #else #define baz(1) ...

alrededor de 1 año hace | 0

| aceptada

Respondida
Custom contour level labeling not working
Assuming you are using MATLAB R2022b or newer, I would recommend leveraging the LabelFormat property, which lets you specify a c...

alrededor de 1 año hace | 1

| aceptada

Respondida
Matlab not saving .mlx
Are you saving your Live Editor scripts before you exit from MATLAB Online? Note that you can run an unsaved Live Editor script...

alrededor de 1 año hace | 0

Respondida
Version 2025a does not open the editor.
Try the answer posted in this thread and see if it works for you.

alrededor de 1 año hace | 0

| aceptada

Respondida
Adding Drop Down Control
Write your code like this: fs = 10000; t = 0:1/fs:1.5; wave = "Sawtooth"; f = str2func(lower(wave)); x = f(2*pi*50*t); plo...

alrededor de 1 año hace | 1

Respondida
Migrate preferences to R2025a
When you start MATLAB, it first looks for a preferences directory that corresponds to your current release (in this case R2025a)...

alrededor de 1 año hace | 1

| aceptada

Respondida
making the graphic smaller
Riffing off @William Rose's answer: If your goal is a specific aspect ratio in your axes, both on-screen and/or exported, you w...

alrededor de 1 año hace | 1

Respondida
Get displayed axes limits for log scale
There is (unfortunately) no way to query the actual limits in the case you described above, but based on your last sentence, I s...

alrededor de 1 año hace | 1

Respondida
Transfer history to MATLAB 2025a
When you start MATLAB for the first time it will automatically look for an old MATLAB preferences directory and automatically im...

alrededor de 1 año hace | 2

| aceptada

Respondida
Saveobj and Loadobj for arrays of objects
It sounds like you may benefit from switching to an object that "fakes" its size. Some examples of objects that do this (that sh...

alrededor de 1 año hace | 2

| aceptada

Respondida
Cannot position third y-axis on the right
Here is another approach for adding a third y-axis that leverages tiledlayout. tcl = tiledlayout(1,1); ax1 = axes(tcl); yyaxi...

alrededor de 1 año hace | 1

Respondida
Is it possible to orient the legend's symbols vertically instead of horizontally?
Does this work for you? This uses only fully documented features. x = linspace(0, 10, 100); y1 = sin(x); y2 = cos(x); plot(x...

alrededor de 1 año hace | 0

Respondida
Cannot position third y-axis on the right
The issue you are running into is that calling plot resets your YAxisLocation. ax = axes; ax.YAxisLocation = 'right'; plot(ax...

alrededor de 1 año hace | 0

Respondida
No plot browser functionality for charts derived from matlab.graphics.chartcontainer.ChartContainer?
There is currently no way to integrate your custom charts (created by subclassing matlab.graphics.chartcontainer.ChartContainer)...

más de 1 año hace | 0

| aceptada

Respondida
Multiple custom graphics object inheriting from ChartContainer
I can't reproduce this issue, but a couple things to keep in mind: Subclasses of ChartContainer are children of UI containers (...

más de 1 año hace | 0

| aceptada

Respondida
ChartContainer is broken?
@Jan Kappen: This is a question that frequently comes up. Let me try to explain our reasoning for making this change. One of ou...

más de 1 año hace | 2

| aceptada

Respondida
Default path issue- does path need to be set to the toolbox folder in Matlab on the Mac in Matlab 2022a?
Check if you have a redundant copy of pathdef.m: which -all pathdef If you see more than one entry (in particular, an entry th...

más de 1 año hace | 1

| aceptada

Respondida
how to change axis font color?
There are several color related properties on the axes, but the one you are looking for is the XColor or YColor (or ZColor). ax...

más de 1 año hace | 1

| aceptada

Respondida
How to Add Constraint Lines with Ticks to Both Plot and Legend in MATLAB?
If you have access to the Aerospace Toolbox (and MATLAB R2021b or later), you can use the boundaryline command to draw something...

más de 1 año hace | 1

Enviada


Sparklines Component
Create small graphs which show the general trend of data.

más de 1 año hace | 2 descargas |

0.0 / 5
Thumbnail

Enviada


Spike Raster Plot
A spike raster plot from spike time stamps with optional trial and group data.

más de 1 año hace | 5 descargas |

5.0 / 5
Thumbnail

Enviada


Color Trajectory Plot
A multi-color line based on a 2D trajectory with corresponding color data.

más de 1 año hace | 2 descargas |

0.0 / 5
Thumbnail

Respondida
How to Plot Numbers on top of Bar graphs?
Starting in MATLAB R2024b, Bar labels are now a built-in feature Starting in MATLAB R2024b, Bar objects now have a Labels prope...

más de 1 año hace | 3

Respondida
Data labels above bars on grouped bar plot
With the release of MATLAB R2024b, this has gotten much easier. Starting in MATLAB R2024b, Bar objects now have a Labels proper...

más de 1 año hace | 3

Respondida
Show numbers with Grouped Bars
With the release of MATLAB R2024b, this has gotten much easier! Starting in MATLAB R2024b, Bar objects now have a Labels proper...

más de 1 año hace | 2

Respondida
While loop executes one additional loop when using appdesigner button to stop loop
Callbacks (like StartCountTslotButtonPushed and CompTslotButtonPushed) will only run if you tell MATLAB to process pending callb...

más de 1 año hace | 0

| aceptada

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

casi 2 años hace | 0

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

casi 2 años hace | 0

| aceptada

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

casi 2 años hace | 2

Cargar más