File:Dutycycle.svg
Summary
Description |
English: This figure represents a rectangular waveform used to define the concept of dutycycle. It has been generated using the following maxima code
dutycycle:1/3;
square(x) := (if (x-floor(x) > dutycycle) then 0 else 1);
load(draw);
draw2d(terminal=svg,file_name="Dutycycle",
color=black,font="Times",font_size=15,nticks=75,proportional_axes=none,
user_preamble="set termoption enhanced;",dimensions=[800,280],
xtics_axis=false,ytics_axis=false,grid=true,points_joined=true,
yrange=[-.1,1.1],xtics={["0",0],["tau",dutycycle],["T",1],["T+tau",1+dutycycle],
["2T",2],["2T+tau",2+dutycycle],["3T",3],["3T+tau",3+dutycycle]},ytics=1,
xaxis=false,yaxis=true,axis_top=true,axis_bottom=true,axis_left=true,axis_right=true,
line_width=2,/*label(["x",1.,0.1],["y",0.1,1.]),*/xlabel="Time",ylabel="Amplitude",
color=blue,key="",explicit(square(x),x,0,3.5)
);
|
Date | |
Source | Own work |
Author | Krishnavedala |

Previous version had been created with Gnuplot (14635 bytes) now 7.46% of previous size

Please do not replace the simplified code of this file with a version created with Inkscape or any other vector graphics editor

Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.