Posts

Showing posts from April 22, 2019

PGFPlots with TikZ produces unstable plots

Image
2 1 I'm currently trying to get some of my Octave plots to work natively in a LaTeX document. My method of choice is to use the plot parameters of my Octave scripts in a standalone TikZ document that uses PGFPlots and is imported to a larger LaTeX document with some discussion on the results. Unfortunately, there have been some setbacks in my first foray to PGFPlots. It seems that the plot bears little resemblance to the plot in the Octave script and that the plot is unstable in the sense that its axis offset and its slope change when I adjust the seemingly unrelated axis properties. Here is the code: documentclass[crop,tikz]{standalone} usepackage{pgfplots} begin{document} begin{tikzpicture} begin{axis}[ width=8cm, height=6cm, samples=6, restrict x to domain*=-0.15:0.15, ...