-
-
Notifications
You must be signed in to change notification settings - Fork 372
Closed
Labels
Description
Hello,
It seems to me that PGFPlots gives an incorrect output when trying to share the same x axis between two plots with twinx(). Here is the sample code
using Plots
pgfplots()
plot(1:10); plot!(twinx(), -(1:10))Here is the output of PGFPlots:

Here is the generated .tex: pgfplot.txt
For reference, here is the correct output from GR:
