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


Groups > comp.soft-sys.math.mathematica > #7485

Plot[...]

From "Scot T. Martin" <smartin@seas.harvard.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Plot[...]
Date 2011-12-30 12:16 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jdka2j$8ek$1@smc.vnet.net> (permalink)

Show all headers | View raw


Whole example is posted below as a weblink but the bottom line question is that I get this error message for a function in Plot[...] when using Piecewise[...]:=

Max::nord: Invalid comparison with -170.+99.9444 I attempted. >>

I don't quite understand this because my function is a very good one that only produces real numbers. For instance, this error message comes up in the formulation for Piecewise[...] but goes away if I set up the function using Condition[...]. 

I put the notebook here for anyone interested in this problem:

http://www.seas.harvard.edu/environmental-chemistry/PiecewiseError.nb

I have isolated the problem to some interaction among Piecewise, Plot, and the n0[...] function.

Thoughts?

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Plot[...] "Scot T. Martin" <smartin@seas.harvard.edu> - 2011-12-30 12:16 +0000

csiph-web