help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

3d plotting of measured data


From: Jan-Peter Schümann
Subject: 3d plotting of measured data
Date: Thu, 23 Jul 2015 09:42:59 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Hi,

I have a large number of data points (approx. 4000) which I want to plot in 3D. From what I understand from my previous work (been a while), I used

k = linspace(-180,180,60)';
l = linspace(11,98,98);
[xx yy] = meshgrid(l,k);
xx = xx';
yy = yy';
tri = delaunay(xx(:), yy(:));
surfc(xx,yy,epsa)

where epsa is of size 98x60. This has been calculated, but origins from my measured data. This gives a plot like this:



Looks acceptable, but the file size is not acceptable (~2MB). I want to use many of these in a TeX-document. More precisely, I want TeX to render the graphics as the document is compiled by specifying "tikz" as a printer in octave with the appropriate options.

What I do not like about this solution is filesize, the fact that I have to reduce my data points to approx 100 to reduce graphics size to 2MB and the fact that the "surface" looks like it has been made out of many little coloured tiles. And of course, it takes quite a while to compile the .m-file.

The question is: does anybody know a better way of doing this?

Thanks for your advice, ftjp

reply via email to

[Prev in Thread] Current Thread [Next in Thread]