Displaying 2 results from an estimated 2 matches for "yvector".
Did you mean:
vector
2011 Aug 04
3
persp()
...ries.
After searching some key words in google and reading many pages I arrived to the conclusion that persp() could be used to draw that map.
I have prepared three small example files, which are supposed to be the files required for running that function.
xvector is a vector with the longitudes
yvector is a vector with the latitudes
zmatrix is supposed to the height, but since I only need a flat map I just gave the value 1 to each of the entries of the matrix (I am not sure this is correct though).
The first question for me when using persp() is that x and y values should be in increasing values...
2011 Jan 27
1
Increasing grayscale value in scatter plot with number of points on particular location
Dear all,
When making a plot with the command plot(xVector, yVector), there are many
points that collide on the same place in the plot. In order to make this
plot clearer, I have been looking for a way to colour the points based on
the number of points that fall onto each other. If only one point falls on a
particular location, make it gray, if many points fall, ma...