Community Profile

photo

aaron Harvey


Active since 2015

Statistics

  • Thankful Level 3

View badges

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

6 years ago | 1 answer | 0

1

answer

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

6 years ago | 1 answer | 0

1

answer

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

6 years ago | 3 answers | 0

3

answers

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

6 years ago | 1 answer | 0

1

answer

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

6 years ago | 0 answers | 0

0

answers

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

6 years ago | 2 answers | 0

2

answers

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

6 years ago | 2 answers | 0

2

answers

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

6 years ago | 1 answer | 0

1

answer

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

6 years ago | 2 answers | 0

2

answers

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

6 years ago | 3 answers | 0

3

answers

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

6 years ago | 2 answers | 0

2

answers

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

6 years ago | 2 answers | 0

2

answers

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

6 years ago | 1 answer | 0

1

answer

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

6 years ago | 1 answer | 0

1

answer

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

6 years ago | 1 answer | 0

1

answer

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

6 years ago | 1 answer | 0

1

answer

Question


Script not finding variable even when the variable is in my workspace
So I have a bunch of variables from a data file in my workspace and I'm making a script to plot a contour plot quickly and it wo...

6 years ago | 1 answer | 0

1

answer