Changing Plot Titles, Axes Labels, Axes Range, and Chart Size in PowerShell
Additional features in the PowerShell Automate functionality allow you to modify titles and override axes labels, axes range, and chart size, if required.
"xAxisTitle":"<xlabel name>", "yAxisTitle":"<ylabel name>", "plotTitle":"<title>", "plotSize":"<chartSize>", "xRange":[<RangeNumber>,<RangeNumber>], "yRange":[<RangeNumber>,<RangeNumber>]
|
-
Copy the PowerShell script.
-
Add the parameters above, if required, to modify the automation script.
-
Edit the script to alter all parameters.
-
Paste the script to Window PowerShell client.
-
Press Enter on the keyboard.
-
If the command prompt returns without any errors, the script has successfully run.
-
By default, the image is extracted to the directory path on your machine, which has been accessed by the PowerShell client.
-
The image is exported in the SVG format.
Before |
After Adding Additional Parameter |
|
|