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

environ 5 ans il y a | 1 réponse | 0

1

réponse

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

environ 5 ans il y a | 1 réponse | 0

1

réponse

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

environ 5 ans il y a | 2 réponses | 0

2

réponses

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

plus de 5 ans il y a | 2 réponses | 1

2

réponses

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

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
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...

plus de 5 ans il y a | 1

| A accepté

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

plus de 5 ans il y a | 1 réponse | 2

1

réponse

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

plus de 5 ans il y a | 2 réponses | 1

2

réponses

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

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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

plus de 5 ans il y a | 1 réponse | 0

0

réponse

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

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Read in dates (for timestamp) from file names
I am trying to read in data and the measurement timestamps do not include the dates. The filenames include the date/time when th...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


Black axes for yyaxis (not default blue and orange)
I'm having a hard time making the two y axes in my yyaxis plot black instead of the default blue left axis and orange left axis....

plus de 5 ans il y a | 2 réponses | 2

2

réponses

Question


Can I reorder the legend entries for gscatter
I am making a gscatter plot where the groups are depths. I want the depths to be in order from shallowest to deepest in the lege...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Why does gscatter create extra groups that are already represented?
I am using gscatter to plot data and then color the data by site. I have 6 sites (PK, PO, EK, EO, LK, LO) to plot but I get 9 gr...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Read in timestamps from weird time format
Hello! I am trying to read in data collected in CA. The timestamps are UTC times recorded as a string that includes characters I...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Can I plot multiple polar histograms together?
A friend showed me this page and it works too! https://www.mathworks.com/help/matlab/ref/subplot.html#bvnckvm-1

presque 6 ans il y a | 0

Question


Can I plot multiple polar histograms together?
I am trying to plot 13 weekly polar histograms to convey wind data. I tried using subplot but it doesn't seem to like the histog...

presque 6 ans il y a | 2 réponses | 0

2

réponses

Question


How to use percentages in my wind rose
I am trying to change my wind rose so that it shows percentages for each magnitude and direction instead of the number of data p...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


How can I remove double quotes from a string?
I am reading in data from a .csv file using textread. The data looks like this: "Date","Time","Temperature" "2018-06-02","14:4...

presque 6 ans il y a | 2 réponses | 0

2

réponses

Question


Make x axis ticks and extent match
Hello, I am trying to plot timeseries data. Each data parameter was collected over a different length of time. I have successful...

presque 6 ans il y a | 2 réponses | 0

2

réponses

Question


How do I label a contour plot in the same colors as the contour lines?
I am hoping to create a contour plot with each line labeled in the same color as that line. I have found instructions for doing ...

environ 7 ans il y a | 2 réponses | 0

2

réponses