Trying to produce a plot n vs. % duty cycle. Duty cycle is of course limited to the range 0…100%, so I want my plot to start at 0.
Unfortunately, my code makes the axes hide the point at (0,0):
Is it possible to arrange the plot in front of the axes?
This is my code:
#import "@preview/lilaq:0.6.0" as lq
#import "@preview/tiptoe:0.4.0"
#show lq.selector(lq.diagram): set text(
size: .8em,
font: "Arial"
)
#align(center,
lq.diagram(
width: 70%,
height: 30%,
// spine: (stroke: none),
title: "Transfer curve",
xlabel: "Set point [%]",
ylabel: "n [rpm]",
yaxis: (
exponent: none,
tip: tiptoe.stealth,
mirror: false,
lim: (0, auto),
),
xaxis: (
exponent: none,
// tip: tiptoe.stealth,
mirror: false,
lim: (0, 100),
),
lq.plot(
(0,1,20,80,100),
(0,625,625,2500,2500),
mark: none,
stroke: (2pt),
)
))
