Community Profile # Sim

##### Last seen: 1 month ago
35 total contributions since 2019

#### Sim's Badges

View details...

Contributions in
View by

Answered
How to get shades and tints of a color hex with Matlab?
@DGM thanks a lot for your answer!! However, the code you wrote here does not work for me, but I changed it and it is now work...

1 month ago | 0

Question

How to get shades and tints of a color hex with Matlab?
How can I get shades and tints of a color hex in an automatic way (maybe still represented as color hex, or also color rgb)? Is ...

1 month ago | 2 answers | 0

### 2

answers

Question

How to make longer and thicker ticks in the colorbar?
How to make longer and thicker ticks in the colorbar?

2 months ago | 1 answer | 0

### 1

answer

Question

standard deviation in errorbar
[a very silly question!] How to calculate the errorbar with 2 standard deviations in this example? x=1:10; y=rand(10,50); err...

4 months ago | 1 answer | 0

### 1

answer

Question

How to get brighter colors in a colormap?
Hi, I would like to change the three colors in the bluewhitered colormap, i.e. red, white and blue into fuchsia, silver and emer...

5 months ago | 1 answer | 0

### 1

answer

Question

Fast calculation of min for a cell array?
Hi, I have this cell array: A = 3×160 cell array Columns 1 through 5 {18×10754 double} {18×10754 double} ...

7 months ago | 1 answer | 0

### 1

answer

Question

How to draw a northarrow on a simple plot, and not on a map?
Hi, how can I draw a northarrow on a simple plot, and not on a map? I would need a northarrow where I can set the traditional...

8 months ago | 1 answer | 0

### 1

answer

Question

How to put a thicker \widetilde in matlab?
Hi, I am writing a legend with interpreter latex and I would need a thicker \widetilde like the other parts of the legend's t...

8 months ago | 0 answers | 0

### 0

answers

Answered
How to draw a curly brace outside the gca?
Solution provided by Walter Roberson: https://it.mathworks.com/matlabcentral/answers/621888-draw-objects-arrows-brackets-outsid...

8 months ago | 0

| accepted

Question

Draw objects (arrows, brackets, ...) outside the axis area
I need to draw some objects (arrows, brackets, ...) outside the axis area.. Any idea on how to do it? In particular I would nee...

8 months ago | 1 answer | 0

### 1

answer

Question

How to draw a curly brace outside the gca?
Hi I would like to move a curly brace (with the function drawbrace) outside the gca (as the annotations, which can go outside th...

8 months ago | 2 answers | 0

### 2

answers

Question

change the lines' widths in a stem plot, without changing the markers edges widths?
Hi, how can I change the lines' widths in a stem plot, without changing the markers edges' widths? (I just want to modifiy the ...

8 months ago | 3 answers | 0

### 3

answers

Question

plot lines and stems behind the markers?
Hi, How can I put the plot lines and stems behind the markers?

8 months ago | 1 answer | 0

### 1

answer

Question

Relabel the arrays' elements with an increasing order
Hi, I have this array: A = [3 3 3 3 1 1 4 4 4 4 2 2 2] and I need to relabel those elements with an increasing order, as follo...

8 months ago | 1 answer | 0

### 1

answer

Question

Sort elements of matrices
Hi, do you have any idea on how to sort the elements of 4 matrices (here called "groups"), as shown in the picture? Some expl...

9 months ago | 1 answer | 0

### 1

answer

Question

Align the Legend Title to the Legend body
Hi, How can I align the Legend Title to the Legend body (variables, etc..)? Maybe left-aligned ?

9 months ago | 1 answer | 0

### 1

answer

Question

Apply the interpreter latex just to a part of the legend title
Hi, I would like to apply the interpreter Latex just to a part of the legend title. In the following attempt all the legend tit...

9 months ago | 1 answer | 0

### 1

answer

Question

Fill between two curves is not working
Hi, I would need to fill up the area between two curves, and I tried to use the function fill as follows: fill([x fliplr(x)],[c...

10 months ago | 1 answer | 0

### 1

answer

Question

Unable to perform assignment because the size of the left side is 7-by-1 and the size of the right side is 7-by-7
Hi, I would like to pass some extra arguments to my ODE as follows: [T,H] = ode23t(@(t,h) MYODE(t,h,G,N,e,n,z,initialnode,w,Qc...

12 months ago | 1 answer | 0

### 1

answer

Question

Is it possible that ode23 or ode45 could result in complex numbers instead of real ones? If Yes, what are the possible reasons for getting complex numbers once you would expect real ones?
Hi, I perfromed ode23 for solving a differential equation, but after some timesteps I started to get complex numbers (i.e. the i...

12 months ago | 0 answers | 0

### 0

answers

Question

Error in using ode23t to solve a differential equation on a graph/network
Hi, I am trying to solve a differential equation about a substance spreading on a graph/network. I am using the ode23t solver,...

12 months ago | 1 answer | 0

### 1

answer

Question

Avoiding for-loops with subsequent elements in arrays
Hi, given this x = [0 10 20 30]; y = [20 10 10 15]; could you suggest a more compact (and faster) way to perform this operati...

1 year ago | 1 answer | 0

### 1

answer

Question

How to add highlighted nodes and edges of a graph to the legend?
Hi, do you know how to add graphhighlighted nodes and edges to the legend? For example, in this case (highlight) , I would lik...

1 year ago | 1 answer | 0

### 1

answer

Question

Create a graph from removed edges
Hi, I have a graph G, from which I removed some edges, getting Grm. Now I would need to get the graph composed only by the rem...

1 year ago | 1 answer | 0

### 1

answer

Question

Quick conversion of a large (and with mixed data types) cell array into a numerical array
Hi, I have a 800'000 x 20 cell array and I would like to convert it into a 800'000 x 20 double precision array. My cell array h...

1 year ago | 1 answer | 0

### 1

answer

Question

Calculate connected graph components of "merged graphs" (graph union)
I have two graphs, G1 and G2, and I would need to calculate the connected graph components conncomp() of the "merged graph" G1+G...

1 year ago | 1 answer | 0

### 1

answer

Question

How can I remove the default transparency of graph edges?
How can I remove the default transparency of graph edges? (I would like bright and clear lines/edges) Here an example, where ed...

1 year ago | 1 answer | 0

### 1

answer

Question

Remove edges in a subgraph SG using nodes IDs (numbers) from the graph G
Hi, I have a graph defined by node pairs (node IDs): s = [1 1 2 4 7 ...] t = [2 5 3 5 6 ...] Since the graph is huge and I would...

1 year ago | 1 answer | 0

### 1

answer

Answered
connected subgraphs after deletion links
The question is not very clear, but maybe you can use my example to get what you need: % define edges s = [1 1 2 3 4 5 6 7 8 9...

1 year ago | 1

Question

How to change FontSize and FontWeight of labels using labeledge?
How to change FontSize and FontWeight of labels using labeledge? s = [1 1 2 2 3]; t = [2 3 3 4 4]; G = graph(s,t); h = plot(...

1 year ago | 1 answer | 0

answer

Load more