Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #2199

How to shade Igloo surface according to intensity and label

Newsgroups comp.graphics.apps.gnuplot
Date 2013-11-17 17:29 -0800
Message-ID <23f6a828-9cfc-4e8e-862f-b3d918a22fd6@googlegroups.com> (permalink)
Subject How to shade Igloo surface according to intensity and label
From mattamimi@gmail.com

Show all headers | View raw


Hello
I was able to create an igloo using the following lines:

set xlabel "x" offset 3, 0, 0
set ylabel "y" offset -5., 0, 0
set zlabel "z" offset 2, 0, 0

unset xtics
unset ytics
unset ztics

set dummy u,v
set angles degrees
set parametric
set view 60, 136, 1.22, 1.26
set samples 128
set isosamples 3,9
set mapping spherical

set border 0
set title "Igloo plotted in spherical coordinate system"
set urange [ 90.0000 : 180.0000 ] noreverse nowriteback
set vrange [ 0.00000 : 360.000 ] noreverse nowriteback

set arrow from 0,0,-1.2 to 0,0,1.2 lc rgb "red" lw 3
set arrow from -1.2, 0, 0 to 1.2, 0, 0 nohead lc rgb "red" lw 3
set arrow from 0, -1.2, 0 to 0, 1.2, 0 nohead lc rgb "red" lw 3


splot cos(u)*cos(v),cos(u)*sin(v),sin(u) notitle with lines lt 12

I would like to lable each region with a number and shade it with a color that represent an intensity. Does any one know how????

Sincerely Mat

Back to comp.graphics.apps.gnuplot | Previous | Next | Find similar | Unroll thread


Thread

How to shade Igloo surface according to intensity and label mattamimi@gmail.com - 2013-11-17 17:29 -0800

csiph-web