# plotMonitor

Plots a monitor from the simulation

## Contents

- Syntax
- Description
- Inputs
- Outputs
- Example

## Syntax

    plotMonitor(DSSCircObj,monitorName);

## Description

Function to plot the simulation results saved in an OpenDSS monitor

## Inputs

- `DSSCircObj` - link to OpenDSS active circuit and command text (from DSSStartup)
- `monitorName` - string with the name of the OpenDSS monitor

## Outputs

- none - a figure is displayed with the plot

## Example

Example of a feeder power monitor plot

    [DSSCircObj, DSSText, gridpvPath] = DSSStartup;
    DSSText.command = ['Compile "' gridpvPath 'ExampleCircuit\master_Ckt24.dss"'];
    DSSText.command = 'Set mode=duty number=8760  hour=0  h=1h sec=0';
    DSSText.command = 'Set controlmode = time';
    DSSText.command = 'solve';
    plotMonitor(DSSCircObj,'fdr_05410_Mon_PQ')
    %