Hydrologist

Professional Interests: Flood forecasting

Question

how to construct histogram with certain bin size?

Hello, I am constructing histogram with certain bin size. I have around 200000 packages that range in price from 0 - 3824400....

2 years ago | 1 answer | 0

Question

How to make a smoother pdf plot?

Hello, I am trying to plot X versus it pdf value (Y) using gamma function. the plot i get (Ex#1) is very strange. I want to h...

3 years ago | 1 answer | 0

Question

how to read multiple sheets (Tab) data and save it in a single matrix?

Hello, I am trying to read an excel file with 19 sheets (tabs) whereas each tab has 365(or 366)*1 data. I want all the tabs to b...

3 years ago | 2 answers | 0

Answered

How to reduce the data point density on graph?

Ok. I solved my problem. here is the solution if someone needs it at any point set(S,'MarkerSize',5,'MarkerIndices',1:10:36...

How to reduce the data point density on graph?

Ok. I solved my problem. here is the solution if someone needs it at any point set(S,'MarkerSize',5,'MarkerIndices',1:10:36...

3 years ago | 4

Question

How to reduce the data point density on graph?

Hello friends, Below is my plotmatrix coding to compare three models with observed data. I would like to reduce the number of...

3 years ago | 1 answer | 0

Question

how to plot side by side bar chart on the same axis?

I would like to have bar side by side for M1 on the left side of the figure and then likewise for M2 on the right side. M1 has 1...

3 years ago | 0 answers | 0

Question

how to boxplot on the same figure?

Hello, I am trying to boxplot four data types on the same graph such that A and B remains on the left side, while C & D on the ...

3 years ago | 1 answer | 0

Question

How to plot boxplot side by side of the two data set?

Hello all, I am trying to boxplot two time periods (2011-2041 (rows 1:360) & 2041-2070 (rows 361:720)) with two RCPs (4.5 (first...

3 years ago | 1 answer | 0

Question

How to import data with column headings?

Hello all, attached is a sample of my data. I would like to import the data as a matrix, when I do so, I lose column headings. ...

3 years ago | 2 answers | 0

Question

Using for loop for plotting from a timetable?

Attached is a sample of my data that I would like to plot. I would like to use for loop to automate plotting from the timetable ...

3 years ago | 2 answers | 0

Question

How to aggregate data on seasonal basis?

Hello, My seasons are defined as Dec-Feb, March-May, June-August, and Sep-Nov. My data is organized in Jan-December format with...

3 years ago | 1 answer | 0

Question

How to define sequence of dates between to dates on monthly time step?

Hello, I want to generate sequence of dates between two dates on monthly time step, however, couldnt figure a way out. I have t...

3 years ago | 2 answers | 0

Question

How to label dates on X-axis as string on monthly time step?

Hello, I would like to see dates on axis as a string in a month-year format with jumping steps for figure enhancement. Here is ...

3 years ago | 2 answers | 0

Question

how to reshape data with leap year?

I have 30 years daily data. For reason, i want to reshape the data as days*years (e.g. 365/366, 30). for the year with no leap d...

3 years ago | 1 answer | 0

Question

how to write text files in a specific format?

Hello, Below is my code that would write data into a text file. fileID = fopen('G:\FLOW_OUT_32.txt','w'); formatSpec...

3 years ago | 1 answer | 0

Question

how to plot with double y-axis?

Hello, Below is my code for producing double y-axis plot. on the left axis, i have discharge data while on the right axis I hav...

3 years ago | 0 answers | 0

Question

how to plot ecdf with > 0 value in a subplot?

Hello all, I am biased correcting climate data. In Figure below subplot (a) and (b) are fine as data is less or greater than ze...

3 years ago | 2 answers | 0

Question

how to title each subplot and one Xlabel and one Ylable for all the subplots?

Hello all, I am using for-loop to plot three different data source on each plot. To do so, I have written the following script....

3 years ago | 1 answer | 0

Question

How to plot a smooth CDF plot?

Hello, I have bias corrected RCM data with observation. I would like to see the plots of raw RCM (RRCM), a bias-corrected RCM (...

3 years ago | 1 answer | 0

Question

how to subplot data from two matrix using for loop?

I would like to use for loop to plot data from matrix A together with the corresponding column of matrix B using sub plot functi...

3 years ago | 1 answer | 0

Question

Sequence of date with no leap year

Hello all, I am analyzing climate data from a model that does not consider leap day. Is there a way to generate sequence of dat...

3 years ago | 1 answer | 0

Question

How to remove regression line from qqplot?

Hello all, For some reason, i don't want the auto fitted line (red in the picture)in my Q-Q plot. Is there any function to turn...

4 years ago | 1 answer | 0

Question

how to combine matrix column and saving them as a separate text file?

suppose i have two large matrices of the same size (10950*45) and i would like to combine each corresponding column of the two m...

4 years ago | 1 answer | 0

Question

how to convert matrix column into separate text?

Hi all, I have a 365*45 matrix, which represents one-year data for 45 subbasins. I would like to convert each column of the mat...

4 years ago | 1 answer | 0

Question

how to plot cdfplot with different line style?

Hi all, I am trying to compare observed streamflow versus simulated (coming from two models) data for the calibration and va...

4 years ago | 1 answer | 0

Question

How to remove quantile lables from x and y axis?

Hello all, I am producing a qqplot of two variables (see example) however, i see X-quantile and Y-quantile poping up on my fi...

4 years ago | 1 answer | 0

Question

How I can produce a colour contour map?

I have a data set in the form M=(180*360*12) where 180 is the latitude, 360 longitude and 12 is the averaged data for 12 months ...

6 years ago | 1 answer | 0

Question

Grid data into monthly average?

Hello All, I have a grid data set for 32 years (384 months) in the form A=(180*360*384), I want to find monthly average for t...

6 years ago | 1 answer | 0

Question

How to fill in a matrix and compute its binary frequency?

Hello All, I have thirty year of preciptation data in a vector form. I need to find the frequency of the dry and wet days and...

6 years ago | 1 answer | 0

Question

Why i dont see my image after pca analysis?

Hello, I am working on an image to reduce its size without comprising much on the quality. i gound the first 300 eigenvectors ar...

6 years ago | 3 answers | 0