Community Profile

aaron Harvey

Ver insignias

Content Feed

Ver por

Pregunta

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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta

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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta

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

casi 7 años hace | 3 respuestas | 0

3

respuestas

Pregunta

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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta

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

casi 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta

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

casi 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta

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

casi 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta

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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta

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

casi 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta

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

casi 7 años hace | 3 respuestas | 0

3

respuestas

Pregunta

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

más de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta

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

más de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta

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

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta

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

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta

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

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta

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

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta

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

más de 7 años hace | 1 respuesta | 0

respuesta