Vertigo could be either from a peripheral (labyrinth and vestibular nerve) or a central disorder (central nervous system). Central vertigo is usually a result of an abnormal processing of the vestibular sensory input by the central nervous system. See the image below.
scatterhist(x,y) creates a 2-D scatter plot of the data in vectors x and y, and displays the marginal distributions of x and y as univariate histograms on the horizontal and vertical axes of the scatter plot, respectively. example.
Er, do you mean a scatter-plot, or a three-dimensional histogram with (x,y) pairs of (1.5,1.2), (2.5,0.1), and (3.5,4.4)? If the former, just use plot(x,y) to get the scatterplot, use write to output the data to file, and use read.csv to read the data from a csv file.