The file size of this SVG plot may be irrationally large because its text has been converted to paths inhibiting translations.
Source code
InfoField
Python code
importnumpyasnpimportmatplotlib.pyplotaspltplt.rcParams["mathtext.fontset"]="cm"t=np.linspace(0,35,500)y=np.exp(-0.1*t)*np.sin(t)plt.plot(t,y)plt.xlabel("$t$",fontsize=14,loc="right")plt.ylabel("$y(t)$",fontsize=14)plt.yticks([-1,-0.5,0,0.5,1])ax=plt.gca()ax.spines['right'].set_color('none')ax.spines['top'].set_color('none')ax.xaxis.set_ticks_position('bottom')ax.spines['bottom'].set_position(('data',0))ax.yaxis.set_ticks_position('left')ax.spines['left'].set_position(('data',0))plt.savefig("Damped oscillation function plot.svg")plt.show()
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
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.
https://creativecommons.org/licenses/by/4.0CC BY 4.0 Creative Commons Attribution 4.0 truetrue