Community Profile

photo

Jing Ci Neo


Last seen: 2 months ago Active since 2018

Followers: 0   Following: 0

Statistics

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

View badges

Feeds

View by

Question


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

2 months ago | 3 answers | 0

3

answers

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

3 years ago | 0

Answered
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 ...

3 years ago | 0

| accepted

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

Answered
'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 ...

4 years ago | 0

Question


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

4 years ago | 1 answer | 0

1

answer

Question


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

4 years ago | 0 answers | 0

0

answers

Question


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

4 years ago | 1 answer | 0

1

answer

Question


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

4 years ago | 0 answers | 0

0

answers

Answered
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('...

4 years ago | 2

Question


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

4 years ago | 1 answer | 0

1

answer

Question


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

5 years ago | 1 answer | 1

1

answer

Question


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

5 years ago | 1 answer | 0

1

answer

Question


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

5 years ago | 1 answer | 0

1

answer

Question


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

6 years ago | 0 answers | 1

0

answers

Answered
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...

6 years ago | 5

Question


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

6 years ago | 1 answer | 0

1

answer