mirror of
https://github.com/dfinke/ImportExcel.git
synced 2026-01-01 16:13:43 +00:00
Added Get-Range, New-Plot and Plot Cos example
This commit is contained in:
4
Examples/Plot/PlotCos.ps1
Normal file
4
Examples/Plot/PlotCos.ps1
Normal file
@@ -0,0 +1,4 @@
|
||||
$plt = New-Plot
|
||||
$plt.Plot((Get-Range 0 5 .02|%{[math]::Cos(2*[math]::pi*$_)}))
|
||||
$plt.SetChartSize(800,300)
|
||||
$plt.Show()
|
||||
Reference in New Issue
Block a user