Community Profile

photo

P_L


24 total contributions since 2019

Contact

P_L's Badges

  • Thankful Level 3

View details...

Contributions in
View by

Question


Fitting a straight line to a set of 3-D points
Hi there, please can someone help me fit a straight line to my data? It's in 3-D I have done it in 2-D before but have no idea...

5 mois ago | 1 answer | 0

1

answer

Question


Calculating Error and intercept on a log plot
Hi there, this is the code/ data I have. Please note I have already taken the logs so that the data is scaled appropriately. ...

5 mois ago | 1 answer | 0

1

answer

Question


export frequency data from a histogram
Hi there, I have a histogram that looks like this: and I would like to extract the frequency data (y-data) so I can make a s...

5 mois ago | 1 answer | 0

1

answer

Question


using nchoosek to gather possible combinations of data
Hi there , I am trying to use 'nchoosek' for the data that i have that contains 15 sets of x,y,z coordinates. I want to find al...

5 mois ago | 1 answer | 0

1

answer

Question


plot texture map for Turkey
Hi there! I am wanting to plot an image similar to the one below but for Turkey/ Middle East. This is the code I have: h=...

5 mois ago | 0 answers | 0

0

answers

Question


compute iterations to calculate pairs of data that do not repeat
Hi there I have 15 sets of x,y,z data points. I want to compute 105 possible combinations of these points using a computational ...

5 mois ago | 1 answer | 0

1

answer

Question


Plot data points as points when using 'errorbar'
Hi there, I am trying to plot errorbars around my datapooints. The relevant command I am using is below ( script relies on oth...

5 mois ago | 1 answer | 0

1

answer

Question


Getting the correct y-intercept and gradient for a trend line using 'fit'
Hi there, I have this code and I would like to get the correct y-intercept (and gradient) for my slope. You can see from the i...

5 mois ago | 1 answer | 0

1

answer

Question


using 'fit' to add a trend line to series of scatter points
Hi there, I am trying to add a trendline to a series of scatter points that represent geographic locations and have an estimat...

5 mois ago | 1 answer | 0

1

answer

Question


plotting a series of lines with specified colours
Hi, I am trying to plot a series of lines on a single plot in Matlab2018. I have specified the colours correctly and checked t...

6 mois ago | 1 answer | 0

1

answer

Question


Plot frequency along the y-axis without using a histogram
Hi there, I am trying to generate a plot like this (please see image attached) and I have an example of my data/ code below. Ple...

6 mois ago | 1 answer | 0

1

answer

Question


Using two colormaps on the same image (no subplots)
Hi there, I have this code as shown below and I am trying to plot a colormap for topography first and then plot some data as a s...

6 mois ago | 1 answer | 0

1

answer

Question


Extract all numbers from a matrix that also contains NaN into a single vector
Hi there I have a large matrix that contains numbers (both positive and negative) and NaN. I need to find the median of this mat...

6 mois ago | 1 answer | 0

1

answer

Question


Change the aspect ratio of x,y to plot Longitude and Latitude correctly ( I have the conversion needed- need help implementing it)
Hi there, I am wanting to change my x,y axis to reflect true longitude and latitude scales. The conversion is: 1 degree of l...

6 mois ago | 1 answer | 0

1

answer

Question


Add les than or equal to inequality to my legend
Hi there, Is there a way to get inequalities to display normally in a plot legend e.g. >= Many Thanks

6 mois ago | 1 answer | 0

1

answer

Question


Specify color to plot in using cellfun(@(B) plot(B(:,1), B(:,2)), blocks)
Hi there, i am using this function to plot a series of data. My data is a combination of blocks and it is showing them on the ...

7 mois ago | 1 answer | 0

1

answer

Question


How do I read data (from a .dat file) seperated by lines of text into individual vectors
Hi there, I am struggling to read in a .dat file correctly. The file has a bunch of headers starting with #s at the beginning ...

7 mois ago | 1 answer | 0

1

answer

Question


Plot ellipsoids with an azimuth angle
Hi there, I have found this code online to plot an ellipse. However, the data I have contains the azimuth of the ellipse. How ...

7 mois ago | 1 answer | 0

1

answer

Question


if statement for colour coding data
Hi, I have latitude, longitude and depth data. I am wanting to create a 2D plot of Lat Vs Long and plot the depth shown as a...

7 mois ago | 1 answer | 0

1

answer

Question


Fill my plot with a colour
Hi I have made the attached image but want to fill the plot inside with the colour: [1 0.92 0.8]. Does anyone know how to do t...

7 mois ago | 1 answer | 0

1

answer

Question


3d plotting of Lat, Long and depth
Hi, I am trying to create a 3D plot - please see attached image. However, i need to flip the scale so that the depth (km) in...

7 mois ago | 1 answer | 0

1

answer

Question


Plot .grd file
Hi there, I am relatively new to matlab and am using it for a very important project. I am hoping to use a .grd file to plot a t...

7 mois ago | 1 answer | 0

1

answer

Question


Plot markers as a continuous line
Hi there, I am trying to plot lots of points representing a seismic fault over some topography. I am plotting the data in the fo...

7 mois ago | 2 answers | 0

2

answers

Question


What is the decimal RGB scale used in Matlab called?
Hi there, I have been trying lots of websites to find colours for my plots. The colours i find on webistes that are RGB are on...

7 mois ago | 3 answers | 0

3

answers