Hi Shaun,

> 1. Is it possible to selects which lines of the 3D box will appear?. For 
> example, to enable only the `floor' or the 'ceiling'?. p.143 discusses a few 
> options but I find didn't something which allows to select specific lines.

Currently, only the (admittadly coarse grained) choices of the "axis
lines" feature are possible currently. I plan to provide a detailed
choice when I tackle explicitly provided unit vectors (as you requested,
i.e. x={(1cm,-2pt)},y=... ); the features are related.

> 2. Is it possible to generate countour plots directly in pgfplots?.

The unstable developerversion (available for download on
http://pgfplots.sourceforge.net/) supports to generate contour plots
directly in pgfplots. More precisely, it invokes gnuplot to *compute*
them and pgfplots visualizes the resulting data points. In short: yes,
with the unstable version.

> 3. Is it possible to shade an area defined by a constraint?. To clarify, say 
> I have a function
> f(x) = x 
> and a constraint, for example
> x < 1
> then I wish to shade (light gray) the region where the constraint is active, 
> so the overall plot will show f(x) with the shaded area on top.

Yes, using the "coordinate filtering" routines: you provide a filter
which checks the condition. If the condition is (not) matched, you
clear the resulting coordinate.

This is documented in section "Skipping Or Changing Coordinates ­
Filters" and in section "Interrupted Plots". Here is an example:

\begin{tikzpicture}
        \begin{axis}[view/h=-15]
        \addplot3[
                surf,
                unbounded coords=jump,
                filter point/.code={%
                  \pgfmathparse
                        {\pgfkeysvalueof{/data point/x} - \pgfkeysvalueof{/data 
point/y}<1}%
                  \ifpgfmathfloatcomparison
                          \pgfkeyssetvalue{/data point/x}{nan}%
                  \fi
                },
        ]
                {x};
        \end{axis}
\end{tikzpicture}

The condition checks "x-y < 1" and, if that is the case, assigns
"x=nan". This causes the shading to be interrupted.


> 4. Is it possible to evaluate conditions, for example, for a 3D plot 
> something like:
> scan over x and y ranges
>  if g( x,y )<=0 plot a point 

This should be possible using the same mechanism as in Point (3) above,
I suppose it is closely related (since a "nan" point won't be plotted).
THe only difference is that you would use "scatter" or "only marks"
instead of "surf".

Best regards

Christian

-- 
Christian Feuersaenger
Institut fuer Numerische Simulation
Rheinische Friedrich-Wilhelms Universitaet Bonn
Wegelerstrasse 6
D-53115 Bonn
Germany

Tel:  +49 228 733430
URL:  http://wissrech.ins.uni-bonn.de/people/feuersaenger.html

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to