Community Profile

photo

Jing Ci Neo


Last seen: circa 2 mesi fa Attivo dal 2018

Statistiche

  • Knowledgeable Level 1
  • First Review
  • Thankful Level 3
  • First Answer
  • Revival Level 1

Visualizza badge

Content Feed

Visto da

Domanda


How can I skip the rest of an if statement?
Is there a way to skip the rest of an "if" statement if a condition is fulfilled? I want to having many if-else statements. I ca...

circa 2 mesi fa | 3 risposte | 0

3

risposte

Risposto
HOW TO SOLVE THIS PROBLEM
You can try set(gcf, 'PaperUnits', 'Inches')

circa 3 anni fa | 0

Risposto
How can I extract a colormap from a dendrogram?
Hello Rebecca, I have a brute force solution for a few clusters. It looks like 'dendrogram' use the hsv colormap, and clusters ...

oltre 3 anni fa | 0

| accettato

Domanda


How to change symbol size and contour size in legend simultaneously?
I wanted to make the marker size of scatter plot larger and the token size of the contour symbol in legend smaller, so I used th...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Error: EXTRAPVAL must be a scalar
I want to interpolate and extrapolate my matrix using interp2. Why am I getting the error "EXTRAPVAL must be a scalar"? Below i...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Risposto
'redo' button is always grayed out
The redo button is on the top right hand corner in the light blue bar to the left of "Search Documentation" (See attached). The ...

quasi 4 anni fa | 0

Domanda


how to plot multiple geoscatter plots together
Hello, I'm trying to plot two sets of scatter points with geoscatter, but the second set just overrides the first. I've tried us...

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How can I plot dashed symbols?
I want to plot stars with dashed outline but when I try to use the scatter function to do it, it gives the error "There is no Li...

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


how to add one colorbar for the whole figure with tiled layout?
The matlab example shows that we can add colorbar to individual tiles see attached, but can we add one colorbar for the whole fi...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How to control FontSize and MarkerSize of Legend at the same time?
I can control fontsize and markersize in legend separately but not together. For example, to control fontsize I use: lgd =leg...

oltre 4 anni fa | 0 risposte | 0

0

risposte

Risposto
How can I change the marker size in legend?
I find that this works. For example if I want to change the symbol size of the second and third symbols: [hLg, icons]=legend('...

oltre 4 anni fa | 2

Domanda


How to change the linewidth of the axes without affecting the linewidth of the legend box?
I have tried using ax=gca;ax.LineWidth=2; which makes both the axis lines and the legend box line thicker. Then I tried to se...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How to save a matrix as text file using "save" without scientific notation?
I tried saving my matrix using save('myMat.txt','myMat','-ascii') but it saves a text file of numbers in scientific notation suc...

circa 5 anni fa | 1 risposta | 1

1

risposta

Domanda


How to display a long string in multiple lines?
I have a cell called C containing many strings, of which some are very long and it's hard to view in one line. I want to be able...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


How to get yr, month, day, hr, min and s stored as separate variables from a serial date number?
I have a vector of serial date numbers (such as 37987.0108217593) and I need to convert each one into year, month, day hr, min s...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


How do I plot contours on a 3D plane created by patch?
As you can see in the attached image, the plane has different latitudes, longitudes, and depth for each grid point. However, con...

oltre 5 anni fa | 0 risposte | 1

0

risposte

Risposto
Projection of a 3D point on a 2D plane
Hello Harshil, I wrote a function to do that, but I'm not sure if it works. Attached is the function. If you find anything wr...

quasi 6 anni fa | 5

Domanda


How do I plot a plane that has points of different values?
I have a 16 by 20 set of points on a plane in 3D, which each has x, y and z coordinates and a slip value. I want to plot the pla...

quasi 6 anni fa | 1 risposta | 0

1

risposta