Drawing Line Using Ml Command at Drawing

Drawing Line Using Ml Command. In this program we will draw a line from current point to point (100,200). //init graphics initgraph (& gd, & gm, c:/turboc3/bgi);

pic2
pic2 from www.freecadhelp.com

Find the following prompts are displayed. Write a javascript program to draw the following rectangular shape. /*draw a line from current point to point (x,y) using lineto () function*/ #include <graphics.h> #include <conio.h> main() { int gd = detect, gm;

pic2

Define line1 and line2 points. Have you tried using ax.plot(ax.get_ylim(), ax.get_ylim())? Using your first, naive attempt, i got the desired result. What matplotlib version and backend are you using?