help-octave
[Top][All Lists]
Advanced

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

Re: 3d plotting of measured data


From: Jan-Peter Schümann
Subject: Re: 3d plotting of measured data
Date: Fri, 24 Jul 2015 08:14:12 +0200


Am 23.07.2015 um 15:36 schrieb "Dmitri A. Sergatskov" <address@hidden>:

On Thu, Jul 23, 2015 at 2:42 AM, Jan-Peter Schümann <address@hidden> wrote:


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. 


​Save plot as png file.


Hi, forgot to mention. The 2MB file _is_ png already. I played around with a couple of file types, none of which making the problem go away. Therefore, I was looking for a different solution how to deal with measured data and 3D plotting. 

Dmitri.
-- 



I am on Octave 3.8.1 and am running linuxmint. 

Thanks, Jan


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]