photo

Leon


Last seen: 1년 초과 전 2011년부터 활동

Followers: 0   Following: 0

메시지

통계학

  • First Review
  • Thankful Level 5
  • First Answer

배지 보기

Feeds

보기 기준

질문


How to use multiple colorbars on one figure?
I have a figure with four subplots. The two subplots on the left are for tempeature, and the two subplots on the right side are ...

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


How to quickly identify a list of nearby stations?
I have a total of 1 million stations numbered from 1 to 1 million. For each of them, how do I quickly identify the rest of the s...

대략 2년 전 | 답변 수: 4 | 0

4

답변

질문


How do I change the tick label rotation on my colorbar?
I have a horizontal colobar and my goal is to set the tick labels of my colorbar, so that they won't tilt. Here is a screenshot ...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to customize a colormap?
I'm plotting a parameter with a range of 0 to 6. Several of my collaborators have been suggesting to create a colormap to go fro...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to set my legend differently from my plotting?
I have a figure with 10 pairs of plots. Below is an example of one pair. plot(x, y, 'r.', "LineWidth", 1); p1 = pchip(x, y, x...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to plot scatter type figures using gridded data?
As you know, scatter plot takes in a 3-column data. What if my X, Y, and Z are all gridded data with the size of 360 x 180? Ho...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to change the angle of xticklabel?
Matlab has been automatically slanting my xTickLabels even when the font size is not that big and can fit the x-axis just fine w...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to specify yticklabel at specific ticks?
For example, if I have a y-axis ranging from 0-100. My "ytick" is [0:10:100]. How do I only add ticklabels at the below unevenly...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to add a right hand y-axis with the same major and minor ticks?
My goal is to add two y-axis of the same major and minor ticks. Their color should all be black. Here is my current code to do ...

거의 3년 전 | 답변 수: 2 | 0

2

답변

질문


How to change Matlab display format for numbers
One thing I dislike about Matlab is the default way of displaying numbers. It would automatically divide everything by 1000 an...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to concatenate matrices when some of them can be empty?
I have 10 matrices, each of them would either have a size of n by 12, or is empty. For example: T1 can be a matrix with a size o...

거의 3년 전 | 답변 수: 2 | 0

2

답변

질문


How do I get values of a certain parameter in a multi-dimensional matrix?
A is a variable with the size of 1000 x 500. % Index of those that are less than 10000 Ind = A < 10000; Why does the below gi...

거의 3년 전 | 답변 수: 2 | 0

2

답변

질문


How to convert the below colormap into a Matlab colormap?
Below is a topography colormap I got from the Generic Mapping Tools. I wonder if anyone knows how to convert this colormap into ...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


Does the latest version of Matlab allow more than one colormaps in one plot?
In the past, overlaying two axes was the only option, but overlaying can often causes its own problems, e.g., slight offset, etc...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


GMT colormap "geo"
Anyone knows how to extract the numerical values out of the "geo" colormap in the "Generic Mapping Toolbox"? https://gmt-tutori...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to plot a map like this in Matlab?
The attached map was created using GMT based on the Earth Relief data. I wonder if anyone knows how to plot it using Matlab? Ma...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


Is Matlab compatible with Mac OS Monterey?
I plan to upgrade my Mac OS to the latest Mac OS Montere. I wonder if that will cause any issues? I'm currently on MATLAB R20...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


How do I identify unique rows based on multiple columns and calculate the average of the rest of the columns?
I have a matrix as below: A = [1 4 3 8; 4 5 6 9; 1 6 3 6; 2 6 9 3; 1 5 3 7]; My goal is to identify rows with both identical C...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to expand a table with more columns?
I have a table T1 with a size of 30000 x 55. How do I add 6 more columns of this table: A, B, C, D, E, F, each of them have a s...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to calculate the binned average at the center of each X and Y grid points?
I have a grid like the below and a 3-column data: x, y, z. [X Y] = ndgrid([-179.5:179.5], [-89.5:89.5]); How do I calculate t...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to specify the color of this contourf plot?
I'm trying to plot the landmask (logical 0 or 1) using a uniform color. Below is my code: % Turning the landmask from logical t...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to create a land/sea mask based on an XYZ bathymetry database?
I have a gridded global bathymetric database with X, Y, and E. X is longitude, Y is latitude, and E is the elevation. E can be p...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


Export a plot with predefined margins
I'm using the below command to export my plot into a jpeg file: % h is the handle for the figure % File_W is my jpeg file name...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


Creating depth specific contours from bathymetry data
The bathymetric data are available through NetCDF, Data GeoTiff and ESRI ASCII raster formats: https://www.gebco.net/data_and_pr...

3년 초과 전 | 답변 수: 1 | 2

1

답변

질문


Calculation using matrix indexing for elements with a certain thresholds
I need to calculate the percentage differences of all elements that are larger than 5 in two matrices (A and B). Both A and B ha...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Matlab parfor transparency violation error.
It is my first time to use Matlab parfor, and I'm getting the transparency violation error as below: Error using A02_use (line ...

3년 초과 전 | 답변 수: 0 | 0

0

답변

답변 있음
How to write a parallel computing script for this situation?
Many thanks for the input, John! To clarify, the function is not my code. It is a peer-reviewed one from someone else. Were ...

3년 초과 전 | 0

질문


How to write a parallel computing script for this situation?
I have a program that has been running for more than a week. I have no idea how many additional days it will take. Would anyone ...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to read this kind of info out of a txt file and post them into Excel files?
I receive the below info from emails and would store them into an txt file named FmEmail.txt. The info is composed of several gr...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Need help using contourfm in Map plotting
Normally, I can use contourf to plot a countour like this: [C1, h1] = contourf (X, Y, Z, [7.9:0.005:8.2], 'LineStyle', 'none' )...

3년 초과 전 | 답변 수: 1 | 0

1

답변

더 보기