LaTeX forum ⇒ Graphics, Figures & TablesPSTricks: question about listplot plotstyle=curve

Information and discussion about graphics, figures & tables in LaTeX documents.
aquamarijn
Posts: 8
Joined: Wed Aug 15, 2012 11:37 pm

PSTricks: question about listplot plotstyle=curve

Postby aquamarijn » Tue Jul 19, 2016 12:44 pm

PSTricks listplot draws a smooth curve through the points in a given list when I use the option plotstyle=curve. I have two questions.

  1. How is the curve between two adjacent points determined mathematically? It doesn't seem to be a cubic spline (as would result from plotstyle=cspline). If it's a bezier curve, how is it determined (e.g. which intermediate control points)?

  2. Is it possible to show or calculate the coordinates of a specific point in between two adjacent points from the list? Example: suppose the list is 0 0 3 1 5 7, how do I get the y-value of the listplot-curve at x=2?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics

Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 25 guests