Community Profile

# aaron Harvey

Active since 2015

#### Content Feed

View by

Question

Contour plot cutting off surface value?
Hi i have a contour plot showing a depth profile of nutrients in the ocean over time however when using meshgrid to interpolate ...

meer dan 6 jaar ago | 1 answer | 0

### 1

Question

Which way to calculate mean is correct?
its late and my head hurts, and im sure ill kick myself in the morning for asking this. Say i have the following data: cou...

meer dan 6 jaar ago | 1 answer | 0

### 1

Question

Convert cell array of latitudes to array
I have a array of cells containing latitudes in the format {'50.01.234';'etc} how can i convert this into something meaningfull ...

meer dan 6 jaar ago | 3 answers | 0

### 3

Question

Creating variable averaged over two strata
Hi there, I have a two long variables (+40,000 measures) of doubles x & y and i would like to calculate a third variable from...

bijna 7 jaar ago | 1 answer | 0

### 1

Question

Change divisions on colour bar
I have a contourf plot with N ammount of bands. No matter how many bands i have in the contour plot i have a smooth slowly chang...

bijna 7 jaar ago | 0 answers | 0

### 0

Question

xlim not working with datenum??
Hi there, I'm trying to set the limits of an x-axis of dates produced in a function. I have two inputs to the function, 'start...

bijna 7 jaar ago | 2 answers | 0

### 2

Question

Calculate monthly averages without reshaping
i have a time series of data and i would like to calculate monthly averages but keeping the vector lengths the same. (the variab...

bijna 7 jaar ago | 2 answers | 0

### 2

Question

Adding a second plot and y-axis to existing code.
I have many water quality variables taken over many years at many depths. The date variable is a an array of doubles in the form...

bijna 7 jaar ago | 1 answer | 0

### 1

Question

Converting yyyymmdd double to decimal year
Hi there, I have many variables made from doubles. I would like to plot certain variables against the date which is also made o...

bijna 7 jaar ago | 2 answers | 0

### 2

Question

How to convert date variable with varying length?
Hi there, I have a date variable with thousands of dates in the format mmddyy i would like to convert it to a yyyymmdd format. ...

bijna 7 jaar ago | 3 answers | 0

### 3

Question

Plotting in for loop not working. Averaging matrix over ranges.
I thought i had a code that worked but i noticed a tiny error, and ive been banging my head on a brick wall sleeplessly trying t...

ongeveer 7 jaar ago | 2 answers | 0

### 2

Question

Average values for duplicates in (:,1)
Hi, I have written a script with a for loop in it that plots two measurements (water tempurature and salinity) for a given dept...

ongeveer 7 jaar ago | 2 answers | 0

### 2

Question

Colorbar not matching for loop plot colours
Hi there i have a for loop plotting multiple lines on the same graph, with the help of @Marius I have managed to get each line a...

ongeveer 7 jaar ago | 1 answer | 0

### 1

Question

Adding a color scale to loop script
Hey. So I have a loop script plotting lines ontop of each other on the same figure. Its messy but it works. function...

ongeveer 7 jaar ago | 1 answer | 0

### 1

Question

Plotting only vertical part of line plot
Hi, I have a data set as two vectors X & Y. There are loads of repeats in X so that I have a series of Y values for the same ...

ongeveer 7 jaar ago | 1 answer | 0

### 1

Question

How can I lock my repositioned colorbar to the rest of my figure?
Hi, I have produced a script to construct a contour plot with a colour bar within the plot itself. However when I change the si...

ongeveer 7 jaar ago | 1 answer | 0