Beantwortet
How do I programmatically extract a 3D plot point selected by a user interactively?
Finding the nearest point in 3D space to a mouse click in a 2D representation may pose problems because depth of the mouse click...

fast 2 Jahre vor | 1

| akzeptiert

Beantwortet
Unwanted quotation marks when appending a table in pdf report
I don't know whether there is any report generator wizardry that addresses this but a simple solution is to convert the cell-str...

fast 2 Jahre vor | 1

Beantwortet
Plot Stacked Surfaces with Coloring Appropriate for each Individual Surface
Assuming the three surfaces are on the same axes, you can set the cdata for each surface. The cdata can be normalized so that ea...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
Why does my plot line appear outside the axes?
This appears to be a bug specific to the OpenGL renderer. Thanks for reporting this issue. Investigation will continue interna...

fast 2 Jahre vor | 2

| akzeptiert

Beantwortet
Exported 3D plot into SVG shows swirly white lines between chopped subshapes in inkscape
The white lines issue has been around for a while and is an effect of how viewing software rasterizes vectors. There have been ...

fast 2 Jahre vor | 0

Beantwortet
Scatter plot text behind plotted data when image copied.
Thanks for the info @Kirstie Beugger. This bug was fixed in R2025a. For releases prior to R2025a: When copying graphics i...

fast 2 Jahre vor | 1

| akzeptiert

Beantwortet
how to scale arrows
Quiver scaling can be tough to understand. We recently added the ScaleFactor property (R2024a) to help out. See this answer fo...

fast 2 Jahre vor | 0

Beantwortet
How can i set the dimension of the arrow in a quiver plot?
Understanding quiver auto scaling When using quiver(X,Y,U,V,__), U and V are the horizontal and vertical vector magnitudes. Ho...

fast 2 Jahre vor | 0

Beantwortet
rotate3d not working properly with matlab GUI and pcshow function
> ...the rotation of the axis is somehow buggy (everytime I klick again, it jumps to another view) and ... the cursor does not c...

fast 2 Jahre vor | 0

Beantwortet
view() not returning [az, el] ??
The azimuth and elevation outputs are returned as two separate outputs. f = figure('visible','off'); ax = gca(f); [az, el]...

fast 2 Jahre vor | 1

Discussion


AMA: The secret of staff contributors in the Answers forum
Welcome to MATLAB Central's first Ask Me Anything (AMA) session! Over the next few weeks, I look forward to addressing any...

fast 2 Jahre vor | 25

Beantwortet
One legend for a group of subtightplots
That FEX function subtightplot is very useful but since R2019b you can use tiledlayout instead and since R2020b, tiledlayout sup...

fast 2 Jahre vor | 1

| akzeptiert

Veröffentlicht


Introducing the Color Picker Component
Guest Writer: Kristen Amaddio Kristen Amaddio is the Senior Team Lead for the MATLAB UI Components team. She first joined...

fast 2 Jahre vor

Thumbnail

Beantwortet
Why are my error bars multicoloured with no line?
Understanding array size compatibility errorbar, like plot, supports mixed array sizes in input arguments as long as the sizes ...

fast 2 Jahre vor | 0

Discussion


Debugging Using Conditional Breakpoints & fprintf
Temporary print statements are often helpful during debugging but it's easy to forget to remove the statements or sometimes you ...

fast 2 Jahre vor | 7

Beantwortet
How to erase a specific elements for the name of string values and then replace them?
Assumptions: "Temp_06_02_24_10_39_34 = 32"; is a string This is not a variable name The month is in the 2nd numeric positio...

fast 2 Jahre vor | 1

| akzeptiert

Beantwortet
How to make sparsity pattern graph with grouping
Using pcolor This solution uses pcolor and converts the table of 0s and 1s into grouping values that are used to assign color t...

fast 2 Jahre vor | 2

| akzeptiert

Beantwortet
UIalert icon disappears in deployed application
Thanks for reporting this, David. We are aware of the problem. Stay tuned for updates.

fast 2 Jahre vor | 0

| akzeptiert

Veröffentlicht


Introducing Transparency to Legends and Rectangles
Guest Writer: Afiq Azaibi Today's R2024a feature highlight is written by Afiq Azaibi, a developer on the Charting Team and...

fast 2 Jahre vor

Thumbnail

Beantwortet
Plot of histogram and probability distribution function.
To equate the colors between the histogram and line pairs, access the object handles from the plot output and then set the Serie...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
Subplot x-axis
Use linkaxes to link the two x axis limits. When the limits of one x-axis changes, the other will adjust. I made 6 changes to...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
How to have a different interval between xticks and xticklabels on a datetime plot?
The x_period_dates variable is all you need. It's a datetime vector containing all of the dates at midnight. You just need to ...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
How to draw an histogram?
> How do I draw an histogram knowing the number of times all elements in a 150x150 matrix appears using matlab? Both histogram ...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
Given a contour plot is there a function which returns a matrix corresponding to the density of lines at a given (x,y) coordinate?
No, there is not a function that computes the density of contour lines. However, you could build such a function. First, you...

fast 2 Jahre vor | 1

| akzeptiert

Veröffentlicht


R2024a release: What’s new in Graphics and App Building?
There are dozens of new graphics and app building features in the MATLAB R2024a release. Here are some highlights to keep...

fast 2 Jahre vor

Thumbnail

Beantwortet
How to update vehicle's state variable in simulator?
I think the choice between the two options depends on a few factors. Relying on the state space equation (x'=Ax+Bu) involves c...

fast 2 Jahre vor | 0

Beantwortet
Plotted patch changes size
Cause of the problem Indeed you are setting the patch location based on the ylimits but you are not setting the ylimits. After...

fast 2 Jahre vor | 1

| akzeptiert

Beantwortet
Create mean y values by multiple groups in one graph
Use groupsummary to compute the means of each group. Then plot the results using bar() with categorical x values. This assumes...

fast 2 Jahre vor | 0

Beantwortet
Plot a time series plot in customized rectangle
Previous answers suggest changing the size of the figure window which is one solution. Another solution is to set the size of...

fast 2 Jahre vor | 1

| akzeptiert

Beantwortet
Generate 3D histogram while capping the height of bars
How to cap the height of a 2D histogram without affecting the max color for each bar This is tricky because hist3 does not retu...

fast 2 Jahre vor | 0

Mehr laden