Hi Alan,

yes, Mathematica's exclusions are basically our "None". A value of
"None" makes the plot line style end the line and start a new one with
the first proper value.

Right now, there is no way to specify "None" values besides doing it
explicitely in the function definition. Also, the outcome depends on the
fact whether the dicretised x-values happen to hit the singularity
exactly (within float limits) or not, see 100 points vs. 101 points.

Proper treatment will always involve user choices, such as a "valid y
range" (as I suggested) or an upper Lipshitz bound (as in the
stackexchange article). My question (request for discussion) is how we
should provide a good user interface for that in PyX.

Michael

Alan G Isaac venit, vidit, dixit 18.01.2016 15:22:
> Mathematica addresses this with the concept of Exclusions,
> which works nicely when you know enough about the function.
> Here's some discussion of difficulties it does not fully
> address:
> http://mathematica.stackexchange.com/questions/10501/plotting-discontinuous-functions-without-spurious-vertical-segments
> 
> Alan Isaac
> 
> 
> -----Michael J Gruber wrote: -----
> From: Michael J Gruber
> Sent:  Monday, January 18, 2016 2:54AM
> To: Pyx-user
> Subject: Re: [PyX-user] Avoid spurious lines with singularities
> 
>> I think the graph.data.function() family (or the line style?) could
>> really use an absmax argument, or ymin and ymax, which would turn on a
>> rangecutter.


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to