Community Profile

photo

Em


Last seen: 29 dagar ago Active since 2020

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Why are the colours in the legend different?
Can anyone see why my legend might not be appearing correctly? plot(powerpc,SR09depth100mms,'-o','color',[1 .78 .1...

29 dagar ago | 1 answer | 0

1

answer

Question


Same colour scale for scatter and line plots on same graph - different groups of data
I have 2 sets of data (denoted by 250 and nothing at the end of the string) My 2 problems: I'm trying to make line plots throu...

7 månader ago | 1 answer | 0

1

answer

Question


Line of best fit not plotting correctly
Hi, When I use the graph app to find a line of best fit to my data, everything seems to be working fine (see attached image)....

7 månader ago | 2 answers | 0

2

answers

Question


Strange function fit to data points- sorting by first column vals?
Hi, does anyone have any idea why my function has such a strange shape? In the modelling app I'm not getting this. I think...

7 månader ago | 1 answer | 0

1

answer

Question


how to plot shorter dataset using 'hold on'
Hi, I have a dataset and want to plot a line of best fit to the beginning of the data which is the only part where it fits. ...

7 månader ago | 1 answer | 0

1

answer

Question


how to remove uncertainty from data in order to plot it
Hi, I have a dataset consisting of a array of strings with a number and uncertainty e.g."2.19479E-8 ± 2.46286E-10" I wan...

7 månader ago | 2 answers | 0

2

answers

Question


measuring local slope from scatter plot data and replotting this value
Hi, I want to make a plot of Ln[dLn(c)/dLn(x)] vs Ln(x) where I have measured c at different irregularly spaced x and the c...

7 månader ago | 0 answers | 0

0

answers

Question


can't find line of best fit from simple code
I can't get a line of best fit to my data using the code from the matlab polyfit page. Does anyone know what might be going wr...

8 månader ago | 1 answer | 0

1

answer

Question


numerical array is being saved as string
I have a numerical array which is saved somehow as a string - when I get Matlab to return the variable, all the numbers are in s...

8 månader ago | 1 answer | 0

1

answer

Question


ylim error "Array indices must be positive integers or logical values"
Hi everyone, When I try to set the y axis limits using the code below, I get an error message. Please could someone suggest w...

9 månader ago | 1 answer | 0

1

answer

Question


how to change colors of lines in a plot to exist on a scale
Does anyone know how to change the colours of lines in a plot so that they exist on a scale? My current code: plot(powerp...

10 månader ago | 1 answer | 0

1

answer

Question


Unexpected resul when trying to plot from array "empty double row vector"
Hi everyone, When I try to plot the following: x305a=table2array(x305); x305a(404:end,1) I recieve this >> x305a(1,404...

11 månader ago | 1 answer | 0

1

answer

Question


graph format for Applied Physics Letters Journal papers
Hi, does anyone know if there is an approved format for Matlab created graphs in Applied Physics Letters journal papers or if...

12 månader ago | 1 answer | 0

1

answer

Question


error message 'The end operator must be used within an array index expression.'
Hi, When I try to plot plot(H20Vs{1:end,1},H20Vs{1:end,2}) hold on plot(M20Vs{1:end,1},M20Vs{1:end,2}) hold on plot(N20...

12 månader ago | 0 answers | 0

0

answers

Question


legend label for subplots
In my figure I have 6 subplots, each displaying the same set of conditions - so I only really need one legend label for all of t...

mer än ett år ago | 1 answer | 0

1

answer

Question


Plotting swept data in 3D plot without link between sweeps
Hi everyone! I want to plot my data in 3D without a link between sweeps. This is my current code. M0dBmto15dBm_0off...

mer än ett år ago | 0 answers | 0

0

answers

Question


How to perform the same actions on a matrix that is broken up into sections?
Hi everyone, I have a matrix where one column has values '1,1,1,.....1,2,2,2.....2,3,3,3..... etc). I want to divide the matrix...

mer än ett år ago | 1 answer | 0

1

answer

Question


plotting data of different x values but same number of data points on the same plot
I have 2 sets of data that I want to plot on the same axis. One set of data runs from -23 to 23 and the other runs from -20 to 2...

mer än ett år ago | 0 answers | 0

0

answers

Question


table2array gives string array when contents are numbers
Whenever I try to convert an table of numbers into an array, instead I will get a string array with all my numbers listed inside...

mer än ett år ago | 1 answer | 0

1

answer

Question


Plot a 3D matrix (1 dependent & 2 independent variables)
I have a matrix with 2 independent variables (X and y) which have given data. I want to plot this data with X and Y (in the X an...

mer än ett år ago | 1 answer | 0

1

answer

Question


Undefined function or variable 'filename'
Hi everyone, Whenever I try to execute my .m file, I get the error message popping up: "Undefined function or variable 'filenam...

mer än ett år ago | 1 answer | 0

1

answer

Question


dynamic variable error 'Argument to dynamic structure reference must evaluate to a valid field name'
Hi, I get this error message appearing from the line indicated. Can anyone suggest why this might be happening? Thanks! i=x...

nästan 2 år ago | 0 answers | 0

0

answers

Question


how to plot the mean of values from swept data
Hi everyone, I have a array of data where I ramped one variable and measured another a number of times. I would like to find th...

nästan 2 år ago | 1 answer | 0

1

answer

Question


Saving to GitHub repo from MATLAB command line
Hi, I'm new to github and I want to use it to save my matlab code from the commandline on my mac. I'm sure there must be some s...

nästan 2 år ago | 1 answer | 0

1

answer

Question


specifying the axes limits separately for 2 sets of data on the same plot
I'm using yyaxis left/right to plot different graphs together and I want to change the axes limits for one side. ylim does ...

mer än 2 år ago | 1 answer | 0

1

answer

Question


creating a new matrix without certain rows with elements below a certain value
I want to create a new matrix which is has the same values as my original matrix, M, minus those rows whose first column values ...

mer än 2 år ago | 1 answer | 0

1

answer