답변 있음
How to Display in multiple axes text and images using UIPanel instead of figure ?
fh should be your app's figure handle. fh = app.UIFigure; % or whatever your fig handle is. or perhaps you want to assign th...

거의 6년 전 | 0

| 수락됨

답변 있음
progress bar does not change color (Load)
To summarize the discussion in the comment section under the question, to use the pseudo-colorbar shown in this community highli...

거의 6년 전 | 0

| 수락됨

답변 있음
How to make a specific element of an image transparent
See the AlphaData & AlphaDataMapping properties of an image. https://www.mathworks.com/help/matlab/ref/matlab.graphics.primiti...

거의 6년 전 | 0

| 수락됨

답변 있음
How can I create different colors in the plotted chart for a lot of data
Inspired by Turlough Hughes's slider used to chose a line object, here's a way to add info to each line's data tip so you can ho...

거의 6년 전 | 1

답변 있음
Plot vertical lines from a point to x-axis
Use a stem plot.

거의 6년 전 | 2

| 수락됨

답변 있음
Shadow on xy plane of line in plot3?
To project the 3D line onto each pair of 2D axes, set the axis limits first and then use the min or max axis limits depending on...

거의 6년 전 | 3

| 수락됨

답변 있음
MATLAB bug for plotting? Overlap between the x-ticks and the number labels: when using inverted y-axis and logarithmic x-axis.
The best solution is to upgrade to a newer release of Matlab. Update your current release might address the problem (I haven't...

거의 6년 전 | 0

| 수락됨

답변 있음
Can a function known whether/which specific output is ignored (tilde operator)?
"Can a function known whether/which specific output is ignored ?" No. nargout tells you the number of output arguments specifi...

거의 6년 전 | 2

| 수락됨

제출됨


detectOutputSuppression
Identify which function outputs have been suppressed by the caller using the tilde operators.

거의 6년 전 | 다운로드 수: 1 |

5.0 / 5
Thumbnail

답변 있음
How can I plot data from a text file--an array of numbers versus an array of strings?
Here's a variety of ways to use the strings as axis ticks. After a second look, you're probably looking for the last method. ...

거의 6년 전 | 0

| 수락됨

답변 있음
Legend Color doesn't Match the Curves Color
I see the problem. Look at the values you're plotting. Assuming a=0.5e-2; semilogy(z,PDF_Hp,'LineWidth',4); PDF_Hp = Co...

거의 6년 전 | 0

| 수락됨

답변 있음
how to write in the middle of ticks?
Datetime x-ticks for 6-month intervals It looks like you want to set xtick, not minor ticks. If your data are in datetime fo...

거의 6년 전 | 2

| 수락됨

답변 있음
Problem to read csv file with a blank line
The first character in your file is a semicolon (;) which is also the delimiter and that's making it difficult to import your da...

거의 6년 전 | 1

| 수락됨

답변 있음
Legend and Colors for Iteration function
Use the displayname property to assign the legend string and use the "color" property to set the line color. % Define colors ...

거의 6년 전 | 0

| 수락됨

답변 있음
Jet Colormap with black and white at the ends
cm = [0 0 0; jet(20); 1 1 1];

거의 6년 전 | 0

답변 있음
How to draw line logarithmic x axis and y axis
Convert the dates to duration from the starting date but use the numeric form of the durations (ie, not the "duration' class). ...

거의 6년 전 | 0

답변 있음
Standard error of regression curve
Follow this answer provided by MathWorks support [here]. Since the degrees of freedom are not defined in that answer, here's a ...

거의 6년 전 | 0

| 수락됨

답변 있음
Writing data into a text file - fprintf
You need to pass the ReactionTime variable in as an input. function savedata(ReactionTime) . . . %savedata fprintf(fid, ...

거의 6년 전 | 2

답변 있음
How to compare each element of matrix to specific number and count it ?
m is your matrix, n is the number of values less than 3. n = sum(m<3,'all') There's no need for an if-statement.

거의 6년 전 | 0

| 수락됨

답변 있음
Limiting UIAxes Interactivity in AppDesigner
The first line below turns off default interactivity and the second line turns off the toolbar options. disableDefaultInteract...

거의 6년 전 | 1

| 수락됨

답변 있음
How can I create a temperature colormap over a global map with temperature data from lat/lon
imagesc(x,y,C) where x and y are your lon and lat data and C are your temp data. It's always a good idea to specify the axes,...

거의 6년 전 | 0

| 수락됨

답변 있음
repeat elements of row matrix li [1 2 2 3 3 3 4 4 4 4 n...... n times]
If you want the output to be character vectors, n = 12; y = arrayfun(@(n){repmat(num2str(n),1,n)},1:n); % Output Sample: ...

거의 6년 전 | 1

답변 있음
How can I change the elements to zero when they are less than specific threshold
A(A<5) = 0; A(A<=5) = 0; B = A .* double(A>5); B = A .* double(A>=5); Try them out and choose one.

거의 6년 전 | 1

| 수락됨

답변 있음
What's the diameter of the standard circle marker 'o' in scatter3 plot ?
The size of scatter objects are in point units where 1 point equals 1/72 inch. Plot a single point and look at it's SizeData....

거의 6년 전 | 0

| 수락됨

답변 있음
App Designer - confirm exit when application is closed from Windows bar
Add a close request function to your app that requires confirmation. 1. From AppDesigner > Design View, right click the figure...

거의 6년 전 | 9

| 수락됨

답변 있음
str in a IF statement, PLEASE HELP
Why do you have a loop when the instructions ask for a single value? The use of break usually indicates inefficient coding. Ag...

거의 6년 전 | 0

답변 있음
how to extract large number of data points from 2D plot
If you can reproduce the figure, just save the coordinates in addition to plotting them, plot(x,y,'o') save('coordinates.mat'...

거의 6년 전 | 0

답변 있음
How many colors with their name present in the image.
Here's how I explored your image data just-for-fun because I found it intersting and my solution to finding the number of colors...

거의 6년 전 | 1

| 수락됨

답변 있음
How to get handle from currently running app made in App Designer?
3 ways to access an existing app In these examples the app's name is "MyApp". 1. Store the app handle when opening the app. ...

거의 6년 전 | 3

답변 있음
Explicit indices for k-fold partitioning
Perhaps something like x = 1:100; % demo vector k = 5; % 5-partitions folds = cell(k,1); for i = 1:k folds{i} =...

거의 6년 전 | 0

더 보기