답변 있음
Connect two points with invisible vector and evenly spaced markers along the vector between them and Access Marking coordinates to draw circles around them.
Assuming P_1 and P_2 and (x,y) coordinates, the steps are compute slope between the two points choose the number of points be...

대략 6년 전 | 0

| 수락됨

답변 있음
I need help adjusting the display axes values of a map created in matlab.
The difference between typical axis ticks and map axis ticks. The latitude and longitude labels in a map are pseudo-tick-labels...

대략 6년 전 | 1

| 수락됨

답변 있음
Put each marker on a curve at a different color
co=jet(10); scatter(x,y,80,co,'filled')

대략 6년 전 | 0

| 수락됨

답변 있음
Select specific rows in Matlab Table.
This demo detects groups of duplicate time stamps using the diff() function and then splits the timetable rows into 3 tables con...

대략 6년 전 | 1

답변 있음
How can i reverse my plot?
I'm guessing you want to flip the y-axes. set(gca,'YDir','reverse')

대략 6년 전 | 0

| 수락됨

답변 있음
Complicated colorbar question?
Option 1: use a legend for the codes and a colorbar for the continuous data The easiest and cleanest method might be to set a d...

대략 6년 전 | 0

| 수락됨

답변 있음
Plot multiple legend in a loop with variable
I suggest you apply this 2-step approach to your code. Step 1: Use the DisplayName property of graphics objects to define th...

대략 6년 전 | 0

| 수락됨

답변 있음
Export graph to excel using app designer
If you're using r2020a or later, see copygraphics() or exportgraphics(). Prior to r2020a, if you're trying to access an axes in...

대략 6년 전 | 1

| 수락됨

답변 있음
what is level of contours
If you scroll up to the top of the page you shared you'll see a section that describes properties associated with levels that ma...

대략 6년 전 | 0

| 수락됨

Discussion


New in R2020a: Mouse Pointer control in apps & uifigures
<</matlabcentral/discussions/uploaded_files/1606/pointers.bmp>> *<https://www.mathworks.com/help/matlab/release-notes.html?rn...

대략 6년 전 | 15

답변 있음
How to add lables on each coloumn of grouped stacked bar chart?
h is the array of handled that you added as an output to the PlotBarsStackGroup function from the file exchange. To add the l...

대략 6년 전 | 0

| 수락됨

답변 있음
Extract part of filepath and using like legendname
Make sure all slashes are forward shashes FilePath = strrep(FilePath, '\','/'); Replace any double shashes with single slashes...

대략 6년 전 | 0

| 수락됨

답변 있음
Barcharts colours based on other vectors
This has been addressed before within the forum (example1 ,example2). The basic idea is to store the output handle to the bar o...

대략 6년 전 | 0

| 수락됨

답변 있음
How to get pixel's position of an image in UIAxis in AppDesigner?
Description of the problem The data cursor does not work for image objects plotted in App Designer (or in any uifigure) prior t...

대략 6년 전 | 2

| 수락됨

답변 있음
For loop through cell arrays
If you want to do this in a loop, there are 4 steps I've outlined below. "c" is the 1x4 cell array. column3Means = nan(siz...

대략 6년 전 | 0

| 수락됨

답변 있음
How to keep count of occurence of column combination using 'for' loop?
How to check the number of occurence of pairs in the nx2 matrix A. A = [1,1;2,1;3,1;1,2;2,2;3,2;1,3;2,3;3,3;1,1;2,1;3,1;1,2;2,2...

대략 6년 전 | 0

| 수락됨

답변 있음
Matlab App Designer UIAxes same scale for x and y axis
Check out linkaxes and linkprop. Use them to set the axis limits and, if needed, other axis properties between two axes. The ...

대략 6년 전 | 2

| 수락됨

답변 있음
How to extract data efficiently from table or 2D array?
Extracting data from a matrix/table into individual variables is the most inefficient way to use those values. Data stored in ...

대략 6년 전 | 0

답변 있음
How can I label the individual spokes in a Glyph plot?
Here's a demo showing how to label each line segment (perimeter or spokes or both) using an array of labels. https://www.mathw...

대략 6년 전 | 0

답변 있음
Add spoke labels in glyphplot
h = glyphplot(X,...) returns the handle to all line and text objects created within the function. For a star plot, h(:,1) and h...

대략 6년 전 | 0

답변 있음
3D Scatter plot color map issues
You have to assign the colormap to your axes. set(gca, 'Colormap', markerColors) The axes colormap is a separate property than...

대략 6년 전 | 0

| 수락됨

답변 있음
Bargraph based on cell-array with two columns
Assuming your cell array is named data where the first the first column are the labels and the second column are the bar heights...

대략 6년 전 | 0

답변 있음
Plotting results in array of a while loop
As the error message indicates, a subscript must be a real, positive integer or logical. On the first iteration, i equals 0 wh...

대략 6년 전 | 0

| 수락됨

답변 있음
How to change color in pie3 App.UIAxes in App Designer?
Follow this demo. You can use either option in the demo for pie3() plots. https://www.mathworks.com/matlabcentral/answers/51...

대략 6년 전 | 0

답변 있음
Average values after every n coloumns
You probably already have a vector of timestamps that define each column of your data. The first line in the demo below produce...

대략 6년 전 | 0

답변 있음
App designer empty vector
Don't use global variables. I'm guessing that you are trying to retrieve the value of m somehwere else in the App but you hav...

대략 6년 전 | 1

| 수락됨

답변 있음
Ranksum - Wilcoxon rank sum test - Get more statistics using a for loop
[p,h,stats] = ranksum(x,y) p = nan(1,n); h = false(1,n); stats = cell(1,n); for i = 1:n [p(i),h(i),stats{i}] = ranks...

대략 6년 전 | 0

| 수락됨

답변 있음
App Designer Tab Groups
An alternative is to keep the tabs visible but prevent the user from selecting them under certain conditions. This demo uses ch...

대략 6년 전 | 1

| 수락됨

답변 있음
How to save the figure of signals in a new directory?
To create a directory, mkdir parentFolder folderName. To save a figure, see savefig(filename). Demo: (also uses fullfile) pa...

대략 6년 전 | 0

답변 있음
Sorting and selecting points into sub matrices based on proximity to each other.
The 3 lines of code at the bottom show the solution. I've included all of the exporatory plots and other lines of code that I a...

대략 6년 전 | 0

| 수락됨

더 보기