Sim

Last seen: Today 2019년부터 활동

Followers: 0   Following: 0

All

배지 보기

Feeds

보기 기준

질문

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');

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]; ...

4일 전 | 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...

4일 전 | 답변 수: 1 | 0

1

답변

질문

Removing the grey margin of a plot (follow up question)
This is a follow-up question to Removing the grey margin of a plot. If I use the same code proposed by @KSSV within a subplot en...

7일 전 | 답변 수: 0 | 0

0

답변

질문

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]) ...

8일 전 | 답변 수: 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...

27일 전 | 답변 수: 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)'}; ...

28일 전 | 답변 수: 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...

대략 2개월 전 | 답변 수: 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...

대략 2개월 전 | 답변 수: 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...

대략 2개월 전 | 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...

대략 2개월 전 | 답변 수: 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=...

대략 2개월 전 | 답변 수: 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; ...

4개월 전 | 답변 수: 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...

4개월 전 | 답변 수: 1 | 0

1

답변

질문

Extract single-digit and double-digit numbers at the same time from a cell array with "regexp"
Hi, I am trying to extract the numbers from the following cell array: a={'1','3','6-10','11-20'}; If I use regexp, the number ...

4개월 전 | 답변 수: 1 | 0

1

답변

질문

exportgraphics with ContentType vector does not work properly
I am trying to export a large figure as a PDF, through exportgraphics(h,'Figure.pdf','ContentType','vector') Matlab creates a ...

5개월 전 | 답변 수: 1 | 0

1

답변

답변 있음
After the extremely useful comment of @Stephen23, I found a way to read my files: mypath = 'C:\Users\XXX\Desktop\...\'; files ...

5개월 전 | 0

질문

Some csv files read by dir as '._20190217.csv' instead of '20190217.csv' ? How to remove dot and underscore in the names ...

5개월 전 | 답변 수: 2 | 0

2

답변

질문

An automatic way to change \ with / (windows vs. unix) only for "addpath"?
Is there an automatic way to change \ with / (windows vs. unix) only for "addpath" As example, I would need to convert many add...

5개월 전 | 답변 수: 3 | 0

3

답변

질문

Error when writing file names into a txt file ("nonscalar strings are unsupported")
I have a number of pictures in a folder and I would like to simply get their file names and write them into a txt file: % input...

5개월 전 | 답변 수: 1 | 0

1

답변

질문

How can I create randomly scattered points between two circles?
How can I create randomly scattered points between two circles? I would like to have 3 inputs (assuming that the two circles ar...

6개월 전 | 답변 수: 3 | 1

3

답변

질문

annotation with both "doublearrow" and "textblock", with same data units
I am employing the solution proposed by @Jorg Woehl in "Specify annotation position with respect to x- and y-axes values?" to us...

6개월 전 | 답변 수: 4 | 0

4

답변

질문

Pass the text of fprintf to the plot's text
Would it be possible to pass the text of fprintf to the plot's text? x = rand(1,10); plot(x) m = mean(x); sd = std(x); a = ...

6개월 전 | 답변 수: 1 | 0

1

답변

답변 있음
Unexpected interquartile range (IQR) result
my bad.. this is the solution: dataIQR = data( data > q(1) & data < q(3) ); and the vertical lines related to the quartiles n...

6개월 전 | 0

질문

Unexpected interquartile range (IQR) result
For a number of distributions I would like to compare and show the interquartile range (IQR) and the standard deviation (STD). ...

6개월 전 | 답변 수: 1 | 0

1

답변

질문

An easy way to add the mean to boxplotGroup of Adam Danz?
Is there an easy and straightforward way to add the mean to the boxplotGroup of @Adam Danz?

6개월 전 | 답변 수: 1 | 1

1

답변

질문

Mean of a cell array with different cell sizes?
Mean of a cell array with different cell sizes? % This works: a = {[1 3 4 5];[7 7 8 2];[5 4 1 9]} mean(cell2mat(a),2) % but ...

7개월 전 | 답변 수: 1 | 0

1

답변

질문

A compact way to reduce, or remove, the fractional part (separated by a decimal point) of numbers in a table
Given a table, could you please suggest a compact way to reduce, or remove, the fractional part (separated by a decimal point) o...

7개월 전 | 답변 수: 1 | 0

답변