Sim
Followers: 0 Following: 0
Feeds
질문
Reduce the inputs for the chi2gof function (follow-up question of: Using chi2gof to test two distributions)
This is a follow-up question of Using chi2gof to test two distributions. @Allie had the following inputs, i.e. the binned obser...
11일 전 | 답변 수: 1 | 0
1
답변질문
What is the correct input for the Two-sample Kolmogorov-Smirnov test, when I need to compare two histograms?
What is the correct input for the Two-sample Kolmogorov-Smirnov test, when I need to compare two histograms? Example 1. If th...
11일 전 | 답변 수: 0 | 0
0
답변질문
legend symbol disappears when plotting a polyshape
If there is not any output from the legend, the symbol of the polyshape is visible: p=plot(polyshape([0 0 1 1],[1 0 0 1])); le...
29일 전 | 답변 수: 1 | 0
1
답변질문
Change coordinate system, from EPSG 3003 to EPSG 32632 (i.e. WGS 84 / UTM zone 32N)
I have the following point with x-y-coordinates in the EPSG 3003 coordinate system: a = [1.7202e+06 4.8998e+06] How can change...
29일 전 | 답변 수: 1 | 0
1
답변답변 있음
A border/perimeter/rectangle around the inset plot, in a subplot environment
Got it, with the Control Axes Layout options! fig = figure; for i = 1 : 6 subplot(3,2,i) scatter(rand(1,10),rand(1,1...
A border/perimeter/rectangle around the inset plot, in a subplot environment
Got it, with the Control Axes Layout options! fig = figure; for i = 1 : 6 subplot(3,2,i) scatter(rand(1,10),rand(1,1...
대략 1개월 전 | 1
질문
A border/perimeter/rectangle around the inset plot, in a subplot environment
In the following subplot environment, how can I draw a red border/perimeter/rectangle around/wrapping the inset plot? fig = fig...
대략 1개월 전 | 답변 수: 2 | 0
2
답변답변 있음
How can I bring the xticklabels closer to the x-axis/xticks?
Sorry, siilly question... I got it: plot(1:10,1:10) set(gca,'Fontsize',20,'FontWeight','normal',... 'LineWidth',1,'TickDi...
How can I bring the xticklabels closer to the x-axis/xticks?
Sorry, siilly question... I got it: plot(1:10,1:10) set(gca,'Fontsize',20,'FontWeight','normal',... 'LineWidth',1,'TickDi...
대략 1개월 전 | 1
| 수락됨
질문
How can I bring the xticklabels closer to the x-axis/xticks?
How can I bring the xticklabels closer to the x-axis/xticks? plot(1:10,1:10) set(gca,'Fontsize',20,'FontWeight','normal',... ...
대략 1개월 전 | 답변 수: 1 | 0
1
답변질문
The farthest yticklabels do not appear when using ax.YAxisLocation = 'origin'
The two farthest ytickslabels (in this case both -1 and +1), do not show up if I use ax.YAxisLocation = 'origin' x=-1:0.1:1; p...
대략 1개월 전 | 답변 수: 1 | 0
1
답변질문
ylabel changes position with ax.YAxisLocation = 'origin'
If I use ax.YAxisLocation = 'origin'; the text of the ylabel changes position, going to the top of the plot and appearing hori...
대략 1개월 전 | 답변 수: 2 | 0
2
답변질문
How can I "connect" the colorbar to my values of a scatter plot?
How can I "connect" the colorbar to my values (between 0 and 1) of a scatter plot? a = rand(1000,1); C = 1-[a a a]; scatter(1...
대략 1개월 전 | 답변 수: 1 | 0
1
답변답변 있음
A (simple) way to use ismember between datetime arrays with different formats
Maybe I found a way, but I am not sure about "dateshift(B, 'start', 'day')": % Input A = datetime(... ['19-Jun-2023', ...
A (simple) way to use ismember between datetime arrays with different formats
Maybe I found a way, but I am not sure about "dateshift(B, 'start', 'day')": % Input A = datetime(... ['19-Jun-2023', ...
대략 1개월 전 | 0
질문
A (simple) way to use ismember between datetime arrays with different formats
Is there a (simple) way to use ismember between datetime arrays with different formats? In the following example, I want to fin...
대략 1개월 전 | 답변 수: 2 | 0
2
답변답변 있음
logspace with a different base
maybe I found it, but I am not sure: a = -2; b = 3; n = 6; B = 3.5; y = B .^ linspace(a, b, n)
logspace with a different base
maybe I found it, but I am not sure: a = -2; b = 3; n = 6; B = 3.5; y = B .^ linspace(a, b, n)
대략 1개월 전 | 1
| 수락됨
질문
logspace with a different base
As far as I understood y = logspace(a,b,n) works for logarithms of base 10. For example we can have: format longG y = logspace...
대략 1개월 전 | 답변 수: 1 | 0
1
답변질문
Join Subgraphs into a new Graph
Is there a way or function in Matlab to merge/connect/join a number of Subgraphs into a new Graph? The following code shows tha...
대략 1개월 전 | 답변 수: 2 | 0
2
답변답변 있음
Error: Children may only be set to a permutation of itself
Solved just by adding "gca", as first argument of findobj, i.e. by using: b = findobj(gca,'Type','GraphPlot');
Error: Children may only be set to a permutation of itself
Solved just by adding "gca", as first argument of findobj, i.e. by using: b = findobj(gca,'Type','GraphPlot');
대략 1개월 전 | 0
질문
Error: Children may only be set to a permutation of itself
When I use the following commands in a subplot environment getChildren = get(gca,'Children'); set(gca,'Children',[getChildren(...
대략 1개월 전 | 답변 수: 2 | 0
2
답변답변 있음
Uistack with a Graph and Subgraphs (GraphPlot)
I might have found a solution: % Graph s = [1 1 1 3 3 6 7 8 9 10 4 12 13 5 15 16 17 18 19 19 20 20 17 24 25 4 27 28 29]; ...
Uistack with a Graph and Subgraphs (GraphPlot)
I might have found a solution: % Graph s = [1 1 1 3 3 6 7 8 9 10 4 12 13 5 15 16 17 18 19 19 20 20 17 24 25 4 27 28 29]; ...
대략 1개월 전 | 0
질문
Uistack with a Graph and Subgraphs (GraphPlot)
Introduction. I have the following Graph and Subgraphs: % Graph s = [1 1 1 3 3 6 7 8 9 10 4 12 13 5 15 16 17 18 19 19 20 20...
대략 1개월 전 | 답변 수: 1 | 0
1
답변질문
Plot a rectangular/square box around a set of random points
Given a random set of points: x=rand(1,100)*5; y=rand(1,100)*5; scatter(x,y,20,'blue','filled') xlim([-1 6]) ylim([-1 6]) ...
대략 2개월 전 | 답변 수: 1 | 0
1
답변질문
How to create a table with interpreter latex?
How to create a table with interpreter latex? In the following example, I would like to have the text inside the table with int...
2개월 전 | 답변 수: 1 | 1
1
답변질문
How to combine cells into a single cell?
How to pass from "a" to "b", here following? a = [{'[1,2)'}, {'[2,6)'},{'[6,11)'}]; % input b = {'[1,2)','[2,6)','[6,11)'}; ...
2개월 전 | 답변 수: 1 | 0
1
답변질문
No InputFormat 'YYMMDD' found for datetime
Is there a way to transform '240331' into '31 March 2024' ? The following does not work: datetime('240331',InputFormat,'YYMMDD...
3개월 전 | 답변 수: 1 | 0
1
답변질문
A more efficient or compact way to sort strings that contain dates
I have strings that contain dates. Those strings are in a "random" order, i.e. they are not ordered by following the dates, fr...
3개월 전 | 답변 수: 1 | 0
1
답변답변 있음
One legend for a group of subtightplots
I found a way to add "side" legends still using subtightplot (not for grouped plots, but for single plots, that can occur more t...
One legend for a group of subtightplots
I found a way to add "side" legends still using subtightplot (not for grouped plots, but for single plots, that can occur more t...
3개월 전 | 1
질문
One legend for a group of subtightplots
In the following plot, formed by 4 subtightplots, how can I have just one (outside) legend for the left plots, and just one righ...
3개월 전 | 답변 수: 2 | 0
2
답변질문
sprintf in 2 lines, with 2 variables, in bold, and interpreter latex
In the following example, plot(1:10,1:10) alpha = 3; string = 'Hello'; text(5,5,sprintf('$\\textbf{%s}$ {\\boldmath$\\alpha=...
3개월 전 | 답변 수: 1 | 0
1
답변질문
How to get a bar plot with unequal bin intervals?
How can I show the following bars (bar_heights) with unequal bin intervals (bin_edges)? bin_edges = [0 5; 5 20; ...
5개월 전 | 답변 수: 1 | 0
1
답변질문
The legend option called interpreter latex does not display the latex symbols correctly
If I use Interpreter latex in the legend, the latex text is not correctly displayed plot(1:10,1:10,'DisplayName','\eta_i') lin...
5개월 전 | 답변 수: 1 | 0