Community Profile

photo

Heidi Hirsh


Last seen: 3 days ago
41 total contributions since 2017

Heidi Hirsh's Badges

  • First Review
  • Thankful Level 2

View details...

Contributions in
View by

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

5 days ago | 1 answer | 0

1

answer

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

16 days ago | 0 answers | 0

0

answers

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

22 days ago | 1 answer | 0

1

answer

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 months ago | 0 answers | 0

0

answers

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 months ago | 2 answers | 0

2

answers

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 months ago | 1 answer | 0

1

answer

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

4 months ago | 0 answers | 0

0

answers

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

4 months ago | 0 answers | 0

0

answers

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

4 months ago | 1 answer | 0

1

answer

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

5 months ago | 0 answers | 0

0

answers

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

6 months ago | 0 answers | 0

0

answers

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

6 months ago | 1 answer | 0

1

answer

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

6 months ago | 1 answer | 0

1

answer

Question


years read in as 18 instead of 2018; how do I add 2000 years?
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...

6 months ago | 1 answer | 0

1

answer

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

6 months ago | 2 answers | 0

2

answers

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

7 months ago | 1 answer | 0

1

answer

Question


cut out section of x axis
I am plotting two experiments on the same x axis. I want to keep the xaxis from 7/11 to 7/14 and 7/18 to 7/20, but I want to cut...

7 months ago | 2 answers | 0

2

answers

Question


Is there a way to add linear fit equations and r^2 values to multiple plots?
I have six subplots. Each is a property-property plot of pH and temperature. I would like to add the linear fit equation and r^2...

7 months ago | 1 answer | 0

1

answer

Question


Assigned colorbar heights in pcolor subplots
I am making a lot of figures with pcolor subplots. I want all the x-axes to match so I am manually assigned the colorbar positio...

8 months ago | 1 answer | 0

1

answer

Question


interp1 for matrix
I have two velocity matrices that I want to interpolate onto a new time vector. The matrices are both 8011x60 doubles where the ...

8 months ago | 2 answers | 0

2

answers

Question


Different colormaps for subplots
I am having a frustrating problem that I think is related to how I am using handles to format the colormaps in my plots. I am tr...

8 months ago | 1 answer | 0

1

answer

Question


Only include x labels on bottom subplot
I am plotting multiple timeseries together over the same time period (x = time). I want to only label the dates for the bottom s...

8 months ago | 2 answers | 0

2

answers

Answered
Change colorbar scale, but keep zero value white
Yes it works if I don't include (currently commented out) the caxis line. The issue is the negatives look more extreme since the...

8 months ago | 0

| accepted

Question


Change colorbar scale, but keep zero value white
I am trying to plot positive data as red (darker red=higher magnitude) and negative data as blue. I want zero to be white. I am ...

8 months ago | 1 answer | 0

1

answer

Question


Create a plot with 2 left axes and 1 right axis
Hi! I want to plot three datasets on top of each other (same plot not subplots). Each has its own units so I want to have two ...

9 months ago | 1 answer | 0

1

answer

Question


delete repeated times from matrix
Hello! I have a matrix of times and irradiance values. It seems that some of the times (itime) must be duplicates. length(uni...

9 months ago | 1 answer | 0

1

answer

Question


Use different colormaps for pcolor subplots
Hi! I'm trying to plot two subplot with different color scales. I finally made the colorbars the correct colors but now my data ...

9 months ago | 1 answer | 0

1

answer

Question


Why is theta=0 not on top
I am tryin to plot polar histograms of currents. For some reason 90 degrees is plotting on top. Even thought I define the direct...

10 months ago | 1 answer | 0

1

answer

Question


Comparing timeseries with linkaxes but axes won't link anymore.
I have several timeseries that I am trying to compare. I want be able to zoom in to periods of 2-3 days at a time to step throug...

11 months ago | 0 answers | 0

0

answers

Question


How do I slice a matrix by the values in a certain column?
I have a large "master" table that I read in as a matrix. I wanted to create new matrices for each "height" value (there are 5: ...

12 months ago | 0 answers | 0

0

answers

Load more