Answered
earth colors plot in 3D
> How can I change the color of what called the earth to take the real color of the earth ? - without the mapping toolbox This ...

3 years ago | 0

| accepted

Answered
How can I copy a MATLAB figure to ms word while retaining figure labels?
copygraphics is a quick and easy way to copy a figure or axes to the clipboard so you can paste it into a document. For example...

3 years ago | 0

Answered
Text Area position issue in R2022b version
Thanks for reporting this issue. A workaround until it is fixed is to apply a grid layout to the right panel in R2022b (or la...

3 years ago | 0

| accepted

Answered
Combine LineStyleOrder and ColorOrder
Starting in MATLAB R2023a you can cycle through LineStyleOrder and ColorOrder together by setting LineStyleCyclingMethod to 'wit...

3 years ago | 0

Answered
cycling through both linestyle and linecolor
Starting in MATLAB R2023a you can cycle through LineStyleOrder and ColorOrder together by setting LineStyleCyclingMethod to 'wit...

3 years ago | 1

| accepted

Answered
Rotate ylabel and keep centered
Starting in MATLAB R2023a when you change the Rotation property of an axis label in a 2-D plot, the HorizontalAlignment and the ...

3 years ago | 2

Answered
How to rotate ylabel but still auto-resize plot axes?
Starting in MATLAB R2023a when you change the Rotation property of axis labels in a 2-D plot, the HorizontalAlignment and Vertic...

3 years ago | 0

Answered
How can I control the stacking order of objects in appdesigner?
Starting in MATLAB R2023a you can use uistack to control the stacking order of ui components in a uifigure such as in App Design...

3 years ago | 1

Answered
I am unable to change the fontsize of axis ticks
> setting the font size using gca.FontSize doesn't change the size of axis ticks gca() is a function that returns the current ...

3 years ago | 0

Answered
Extracting data from histogram plots
3 methods to group data and compute mean for each group Each method deals with empty bins differently. discretize + splitappl...

3 years ago | 0

| accepted

Answered
Zooming Into UIAxes Image Changes Axis Shape and Position: Why, and How Do I Fix?!
Your intuitions are correct. Panning and zooming reset the CameraPosition and CameraTarget back to default states which explain...

3 years ago | 1

| accepted

Answered
Spectral clustering: K-means replicates setting to improve reliability
If you open spectralcluster, you'll see that kmeans is being called with a Replicates value of 5 and there is not a way to speci...

3 years ago | 0

| accepted

Answered
plotting a function and values from a table
> how do I plot the actual line's equation? The assignment is to plot the line at intervals of 0.001pi between 0 and 0.2pi, no...

3 years ago | 0

Answered
How can I add to cell arrays like I do with normal arrays?
T = {1234,80,'matlab','12',rand(4)} TT = [T,7:9] or T(end+1) = {7:9}

3 years ago | 0

Answered
How to control UI progress dialog box 'uiprogressdlg' size and position
The figure generated by uiprogressdlg should not be a child of the figure and does not have accessible position properties. A...

4 years ago | 0

Answered
How can I determine what add-ons I have installed?
A programmatic way to list all user-installed toolboxes, available since R2016a. Note, these are not the same as MATLAB Toolbox...

4 years ago | 1

Answered
Determine if an element in array of doubles start with patten
Here's a demo that finds the first value in a vector that has a first digit equal to 4. The values can have any number of digit...

4 years ago | 0

Answered
Animation of multiple Quivers
The hold command merely prevents the axes from being cleared when you add new graphics objects to the axes. You can manipulate ...

4 years ago | 0

Answered
Ploted graphs in tiled layout extends beyond figure
The problem is that t1 has a layout of 3x1 but t3 which is nested in t1 is set to a span of 2x3. t3.Layout.TileSpan = [2 3] ;...

4 years ago | 0

| accepted

Answered
patternnet throwing error on iris_dataset
I am unable to reproduce this error using the same release (R2022b, Deep Learing TB 14.5). In net = train(net,x,t), make sur...

4 years ago | 0

Answered
How can make the user not be able to change tabs by clicking on them Matlab app designer?
See this related answer: Control tab selectivity.

4 years ago | 2

| accepted

Answered
How to label the numeric values at the end of a stack in a stacked bar graph?
Here's a demo you can adapt to your needs. I reworked a bit of your code to Use categorical x values instead of setting xtic...

4 years ago | 1

| accepted

Answered
How to remove rows of zero's occurring prior to rows of desired data?
This demo makes the following assumptions The first row of non-zeros is the first row of the data you'd like to isolate. The l...

4 years ago | 0

Answered
No way to plot correctly dashed and dotted lines using painters
Thanks for reporting this issue. Here's a workaround I came up with after some trial and error. After running the code from y...

4 years ago | 1

| accepted

Answered
identify the pixel color as a single number (no RGB triplet)
Is there a way to display the single number (not the RGB triplet)? Here are two ways to explore the CData in your image interac...

4 years ago | 0

| accepted

Answered
Professor needs specific color for bar graph, but the hex code for the color is not working.
Color options for bar(__,color) are described in the documentation and include short names (e.g. 'r') and long names (e.g. 'red'...

4 years ago | 0

Answered
how to change inputdlg & questdlg & listdlg ICON?
This addresses your question https://www.mathworks.com/matlabcentral/answers/91579

4 years ago | 1

Answered
Problem passing a function handle into icare
A_cen and B_cen are functions that require 1 input. Fill in the 2 blanks below. The input to A_cen should have at least 3 elem...

4 years ago | 0

Answered
Weird behavior for pagemrdivide matlab 2022b vs 2022a
Be on the lookout for the next update (update 4) to MATLAB R2022b. 3 Ways to check for MATLAB Updates https://www.mathworks.c...

4 years ago | 0

Answered
Plot property 'DateTimeTickFormat'
When tick label format is not specified, datetime tick labels are automatically selected based on the range of your data and the...

4 years ago | 1

| accepted

Load more