[pstricks] Surface plot using PStricks/pst-3dplot

Herbert Voss Herbert.Voss at fu-berlin.de
Mon Aug 13 19:46:27 CEST 2007


Werner Grundlingh wrote:
>
> In an attempt to reproduce the landscape of Königsberg (now known as
> Kaliningrad) and ultimately something similar to the figure
>  http://www.britannica.com/eb/art-68671
> I generated a grid of three dimensional (x,y,z) points (see the
> konigsberg_3d_coor.txt attachment) and was able to plot it in Matlab
> using surf(X,Y,Z) (see the attachment matlab_konigsberg_grid.pdf). Is
> there a similar way to achieved this using PStricks and possibly
> pst-3dplot? In short, is it possible to produce similar plots to
> \psplotThreeD[...]{...} or \parametricplotThreeD[...]{...} as shown in
> the pst-3dplot package documentation where the 'functions' are 'data
> points'/'irregular surfaces'?
>
> I have tried using \fileplotThreeD{...}, but the input should then be
> specified in separate x-direction and y-direction files, which
> consequently doesn't allow for a plotstyle=polygon type plot. Hence,
> all faces are transparent and can't be coloured with a user-defined
> colour.
>
> Any suggestions?

you have to rewrite one of the data plot macros.
Will take some time ...

Herbert



More information about the PSTricks mailing list