Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2993
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newspump.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail |
|---|---|
| From | "Nasser M. Abbasi" <nma@12000.org> |
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: plotting contours on a sphere |
| Date | Tue, 7 Jun 2011 10:47:24 +0000 (UTC) |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Sender | steve@smc.vnet.net |
| Approved | Steven M. Christensen <steve@smc.vnet.net>, Moderator |
| Message-ID | <iskvjs$5qd$1@smc.vnet.net> (permalink) |
| References | <isi9qb$lqm$1@smc.vnet.net> |
| Reply-To | nma@12000.org |
| Lines | 33 |
| NNTP-Posting-Date | 07 Jun 2011 09:48:37 GMT |
| NNTP-Posting-Host | 60755361.news.twtelecom.net |
| X-Trace | DXC=8hO^e229KHHVS1USibAf`FC_A=>8kQj6M=_1NR_H?JPM:XUMBi^ZO?GEFiONJ7[GoFe<Z=XlRbH^I |
| X-Complaints-To | abuse@twtelecom.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.soft-sys.math.mathematica:2993 |
Show key headers only | View raw
On 6/6/2011 3:23 AM, Bob Hanlon wrote:
> p3 = SphericalPlot3D[1, {\[Phi], 0, Pi}, {\[Theta], 0, 2 Pi},
> ColorFunctionScaling -> False,
> ColorFunction -> Function[{x, y, z, \[Theta], \[Phi], r},
> ColorData["TemperatureMap"]
> [Rescale[f[\[Phi], \[Theta]], {-1, 1}]]],
> Mesh -> 9,
> MeshFunctions ->
> {Function[{x, y, z, \[Theta], \[Phi], r},
> f[\[Phi], \[Theta]]]}]
>
>
> Bob Hanlon
>
Hi Bob;
what version of Mathematica did you use? on 8.0.1,
windows 7, I get an error message.
MeshFunctions::invmeshf: MeshFunctions->{At Line = 1, the input
was:,p3=SphericalPlot3D[1,{\[Phi],0,Pi},{\[Theta],0,2Pi},ColorFunctionScaling->False,
ColorFunction->Function[{x,y,z,\[Theta],\[Phi],r},
ColorData[TemperatureMap][Rescale[f[\[Phi],\[Theta]],{-1,1}]]],
Mesh->9,MeshFunctions->{Function[{x,y,z,\[Theta],\[Phi],r},f[\[Phi],
\[Theta]]]}],f[#5,#4]&} must be a pure function or a list of pure functions. >>
here is a screen shot also fyi
http://12000.org/tmp/june_5_2011/msg.png
--Nasser
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: plotting contours on a sphere Bob Hanlon <hanlonr@cox.net> - 2011-06-06 10:23 +0000 Re: plotting contours on a sphere "Nasser M. Abbasi" <nma@12000.org> - 2011-06-07 10:47 +0000
csiph-web