|
From: Benjamin v. A. <ben...@gm...> - 2012-02-02 16:46:20
|
On Thu, Feb 2, 2012 at 5:04 PM, Benjamin von Ardenne < ben...@gm...> wrote: > Hey guys, > > I am trying to plot my data on the surface of a sphere with the data > values being color coded. For that I have tried around a lot with pm3d but > most of the time, I got ' Warning: Single isoline (scan) is not enough for > a pm3d plot.' errors. > > Now I am working with this example: http://www.gnuplotting.org/heat-maps/ > > that I turned into my own script, that you can find at > http://www.plotshare.com/index.ws/plot/986805525 . > > The data is stored as > > phi theta r value > > with r=1 constant. I want to have a nice smooth surface like I would get > in the 2D case using splot ...image! > > On plotshare, despite 'w pm3d' the points are just very small pixels and > on my machine in wxt terminal, I do not see any of the data at all. > > If you have done something like that before, it would be great if you > could help me out. > > Cheers, > Ben > > > I have actually figured it out on my own already and just wanted to let you know, how the solution looks like. As it turns out, a blank line has to be introduced for each new theta: phi_1 theta_1 r val ... phi_n theta_1 r val <blank> phi_1 theta_2 r val ... phi_n theta_1 r val Hope this will help someone else. Ben |