Community Profile

Srh Fwl

Last seen: Today Active since 2020

Content Feed

View by

Question

Is there a simple way to omit legend entries?
I have plotted figures where there are numerous diagonal reference lines. I only need one line to appear in the legend. Howe...

alrededor de 1 mes ago | 1 answer | 0

1

How can I plot a reference line of slope 1 on a loglog plot?
Figured it out. xref = 10.^(-1:.1:3); yref = xref plot(xref,yref)

2 meses ago | 0

| accepted

Question

How can I plot a reference line of slope 1 on a loglog plot?
I am not an experienced Matlab user and would appreciate advice on adding diagonal reference lines to loglog plots. I.e., the l...

2 meses ago | 1 answer | 0

1

Question

Problem plotting 1D array versus table column: I want a single curve/series but am instead getting a separate series for every array element.
I have used Matlab's "Import Data" facility to import a single column of data from a file. I can plot it by doing this: plot(m...

5 meses ago | 1 answer | 0

1

Question

Is it possible to manipulate a plot axis; i.e., divide values by 1000 so that the x axis range is 0 to 300 instead of 0 to 300000 and also get rid of exponential notation?
I am making X–Y plots of results from very long simulations. Right now, my plots are unsightly because: The X axis goes from 1...

6 meses ago | 2 answers | 0

2

Question

Grid a plot with diagonal lines
I would like to plot a diagonal grid where there are three or four lines of positive slope=1 like in the figure attached. I don...

7 meses ago | 2 answers | 0

2

Question

In a matrix column/array, how can I turn all numbers higher than a certain value into nans?
I have a 1 D array (column) of measured data (that I ultimately append to a matrix). I want to plot the data. There are numb...

11 meses ago | 1 answer | 0

1

Question

How to take an average of row elements in a two-column matrix when both elements do not contain a NaN, but use only the non-NaN value when there is a NaN?
I have a matrix with two columns of data. The data are measurements collected at the same times from different sensors, TT1 and...

11 meses ago | 1 answer | 0

1

Question

How can I concatenate a "datetime" column to a matrix of numbers?
I have imported a table from an external file via textscan. For example: A = rawCellColumns2(:, 1); B = cell2ma...

alrededor de 1 año ago | 1 answer | 0