Qurak

Get the number of points used to plot a curve

Example 2 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.

Step 1
p = Plot[Sin[x], {x, 0, 20}]
Output
-Graphics-
Step 2
Total[Cases[p, x_Line :> Length[x[[1]]], Infinity]]
Output
0

Functions used

Related recipes

All recipes · Function reference · Use this from an MCP client