xy_curve
- xy_curve(x, y, colour, style, thickness)
Convenience function to build a curve to be plotted in a
cartesianview()
with the givencolour
,style
andthickness
.- Parameters
x (list or ndarray) – x coordinates of the curve points
y (list or ndarray) – y coordinates of the curve points
colour (str) – the colour of the curve
style (str) – the line style of the curve
thickness (number) – the thickness of the curve
- Return type
list of
input_visualiser()
andmgraph()
Returns a list containing an
input_visualiser()
and anmgraph()
, which can be directly used inplot()
.