Description Usage Arguments Details Value Author(s) See Also Examples
Draw a resistor
1 2 3 4 5 |
x0,y0 |
starting coordinate of element |
x1,y1 |
ending coordinate of element |
length |
length of zig-zag |
width |
width of zig-zag |
label |
optional string placed near component (see |
pos |
position of |
points |
booline indicating whether to draw dots at the ends of the wire |
col |
colour |
lwd |
line width |
cex |
size of points (ignored unless |
The coordinate system has both x and y ranging from 0 to 1.
Vector containing x0, y0, x1, y1
.
Dan Kelley
The plot must first be set up with circuit
.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.