How to plot the electric field using when the desired signal is small and there are many data points
Problem: I have a large data set (~5gb) that consists of the following information
x – position vector
y – position vector
z – position vector
Ex – value of the electric field evaluted at (x,y,z)
Ey – value of the electric field evaluted at (x,y,z)
Ez – value of the electric field evaluted at (x,y,z)
I wish to recreate this image in matlab because the program I am using cannot handle all of the data it created:
Using
scatter(x,y, [], mag(Ez) , ‘filled’)
I get the following:
"Cropping" the data by dropping rows that are not within a specific range yields:
As you can see, the image is very fuzzy. Zooming in once more shows the problem:
What I have tried
downsample() – makes it workable, but too many points "washes out" what I need
meshgrid() does not work because I need too much memory, even if I split my vector into 300 rows and thousands of columns and loop over each column
contour() cannot get to work since the third argument (Z) is numerical data
quiver() also cannot get it to work since it wants a matrix as the thrid argumentProblem: I have a large data set (~5gb) that consists of the following information
x – position vector
y – position vector
z – position vector
Ex – value of the electric field evaluted at (x,y,z)
Ey – value of the electric field evaluted at (x,y,z)
Ez – value of the electric field evaluted at (x,y,z)
I wish to recreate this image in matlab because the program I am using cannot handle all of the data it created:
Using
scatter(x,y, [], mag(Ez) , ‘filled’)
I get the following:
"Cropping" the data by dropping rows that are not within a specific range yields:
As you can see, the image is very fuzzy. Zooming in once more shows the problem:
What I have tried
downsample() – makes it workable, but too many points "washes out" what I need
meshgrid() does not work because I need too much memory, even if I split my vector into 300 rows and thousands of columns and loop over each column
contour() cannot get to work since the third argument (Z) is numerical data
quiver() also cannot get it to work since it wants a matrix as the thrid argument Problem: I have a large data set (~5gb) that consists of the following information
x – position vector
y – position vector
z – position vector
Ex – value of the electric field evaluted at (x,y,z)
Ey – value of the electric field evaluted at (x,y,z)
Ez – value of the electric field evaluted at (x,y,z)
I wish to recreate this image in matlab because the program I am using cannot handle all of the data it created:
Using
scatter(x,y, [], mag(Ez) , ‘filled’)
I get the following:
"Cropping" the data by dropping rows that are not within a specific range yields:
As you can see, the image is very fuzzy. Zooming in once more shows the problem:
What I have tried
downsample() – makes it workable, but too many points "washes out" what I need
meshgrid() does not work because I need too much memory, even if I split my vector into 300 rows and thousands of columns and loop over each column
contour() cannot get to work since the third argument (Z) is numerical data
quiver() also cannot get it to work since it wants a matrix as the thrid argument plotting, subplot, field, image MATLAB Answers — New Questions