Community Profile # Heidi Hirsh

Last seen: 1 year ago Active since 2017

#### Statistics

• • #### Content Feed

View by

Question

How can I make my tick labels include 4 decimal places
I am trying to make a map over a very small area and three decimals is not enough to distinguish between longitude tick labels o...

1 year ago | 1 answer | 0

### 1

Question

Plot images with iterative names as subplots
I have several images that I have read in as A1 to A43. For instance, A1= imread('False_Color/20181007.png'); A2= imread('Fa...

1 year ago | 1 answer | 0

### 1

Question

Can I assign specific colors to values for an imagesc plot and use a colormap for others?
I am trying to make a map using imagesc. I have different classes of data I need to show. Right now I am using a default colorma...

1 year ago | 0 answers | 0

### 0

Question

I want to plot current data (direction and magnitude) as vectors in a single plot
Hi! I'm trying to plot a timeseries of current data in away that I have seen wind velocity data displayed like in the example at...

1 year ago | 1 answer | 0

### 1

Question

Can I add 95% confidence ellipses around groups of data in a pca plot (biplot)?
I am plotting the results of principle component analysis using biplot. I am wondering if there is a way (in matlab) to add conf...

1 year ago | 1 answer | 0

### 1

Question

Does anyone know of a function that will take timeseries data and find 12-hour averages throughout (day and night averages)?
I have a 17 day timeseries and I would like to calculate 12-hour averages for the data so that I end up with daytime averages an...

1 year ago | 1 answer | 0

### 1

Question

Indexing scores to plot pca results in biplot
I am trying to visualize the results of a principal component analysis using biplot. I want to color the data by site (or time i...

1 year ago | 0 answers | 0

### 0

Question

How can I plot two datasets together if they have different x axis values?
I want to plot flux data versus time. I have a dataset of flux values where the x-axis is timestamps (not chronological because ...

1 year ago | 1 answer | 0

### 1

Question

How do I determine the closest upcoming index (given a vector of the indices of interest) to each value in a vector of timestamps?
I have a record of timestamps at 5 minute intervals. I want to calculate the time (ideally in hours) until the next tide change ...

1 year ago | 1 answer | 0

### 1

Question

shift x axis to plot daytime hours before nighttime hours
I have a plot where the x axis is the hour of the day. Right now the xaxis starts at 0 and ends at 24. Instead, I want to plot t...

1 year ago | 1 answer | 0

### 1

Question

Why do colors "gray out" when I save figure as .eps
I am trying to save a figure as an EPS file so that I can open it in Adobe Illustrator. When I save my figure most of the colors...

1 year ago | 1 answer | 0

### 1

Question

How can I set the y tick interval (to powers of 10) on a log scale?
I have specified the limits of my x and y axis which are both on log scales. I want to also specify the intervals for the yaxes ...

1 year ago | 1 answer | 0

### 1

Question

Is it possible to set the size of the gap between grouped bars in a bar graph?
I know you can set the width of each bar (I set mine near max) but I am curious if I can minimize the white space by decreasing ...

1 year ago | 2 answers | 2

### 2

Question

When using yyaxis is there a way to plot the right yaxis data behind the left yaxis data?
I am trying to plot data on two different axes. I want the data associated with the right y axis (red lines) to plot behind the ...

1 year ago | 1 answer | 0

### 1

Question

I'm trying to shade profiles of different measurements over depths and the colors look limited
I am using contourf to plot data overdepth. The first panel looks fine, but in the second it looks like only four colors are bei...

1 year ago | 0 answers | 0

### 0

Question

Trouble adding error bars to bar graph
I am trying to add error bars to bar graph. The figure looks fine if I run it without the error bars as just bar(coh). (see atta...

1 year ago | 1 answer | 0

### 1

Question

How can I add a third axis to a plot
I made a figure using yyaxis to plot two different kinds of data on the same plot. I want to add a third timeseries with a y-axi...

2 years ago | 0 answers | 0

### 0

Question

How can I shade confidence intervals on a loglog plot?
I am trying to plot frequency spectra with 95% confidence intervals (upper and lower bounds). I am using pwelch to calculate pow...

2 years ago | 2 answers | 0

### 2

Question

add grid lines to minor x ticks
I am trying to make a plot where my x labels are weeks. I only want to label every other week, but I want x gridlines for every ...

2 years ago | 1 answer | 0

### 1

Question

add single isolines to contour plot (contourf)
I am trying to make contour plots for chemistry data. To simplify the plots I have removed the contour lines but I would like to...

2 years ago | 0 answers | 0

### 0

Question

set white in bluewhitered to z=1 (instead of zero)
I'm trying to highlight z=1 in a contour plot. I have used the bluewhitered colormap in the past to help discriminate positive f...

2 years ago | 0 answers | 0

### 0

Question

How can I shade confidence intervals and assign colors to frequency spectra plot (pwelch)
I am trying to plot power spectra for timeseries data with 95% confidence intervals. Right now I have plotted 2-3 depths of data...

2 years ago | 1 answer | 0

### 1

Question

Extract time data from a point by clicking
I used to be able to right click on a point and save it. Then I could pull out the x data (time) for indexing later. For some re...

2 years ago | 0 answers | 0

### 0

Question

How do I label the scatter colorbar with month and day
I wanted to color my scatter plot by date. I was able to do that with the code below but I want to me able to discrimate between...

2 years ago | 1 answer | 0

### 1

Question

Is there a way to select a good color scheme for easy figure viewing
I have timeseries data from nine depths under water. I was to plot it together and still be able to discriminate depth. Right no...

2 years ago | 1 answer | 0

### 1

Question

Determine daily derivative of time series data
I have a timeseries of oxygen (DO) data collected at 5 minute intervals. I want to calculate the daily derivate of oxygen (so 28...

2 years ago | 1 answer | 0

### 1

Question

I checked similar questions asked and it seems like the previous answers aren't quite what I am looking for. I have a csv file w...

2 years ago | 1 answer | 0

### 1

Question

why are my cross correlation values so high?
I am trying to find the best lag for relating to vectors of data (attached in the mat files as vectors x and y). I want to do a...

2 years ago | 2 answers | 0

### 2

Question

correlation coefficients for a matrix that includes NaNs
I am trying to determine correlation coefficients and p values for different parameters of timeseries data. I have a matrix of f...

2 years ago | 1 answer | 0