| AQSysPlot {LLSR} | R Documentation | 
AQSysPlot
Description
This functions plot binodal data as a curve in a pre-defined high quality theme ready for publication.
Usage
AQSysPlot(
  dataSET,
  Order = "xy",
  xlbl = "",
  ylbl = "",
  seriesNames = NULL,
  save = FALSE,
  filename = NULL,
  HR = FALSE,
  wdir = NULL,
  silent = FALSE
)
Arguments
| dataSET | - Binodal Experimental data that will be used in the nonlinear fit. It might hold multiple systems stacked side-by-side. [type:data.frame] | 
| Order | Defines how the data is organized in the Worksheet. Use "xy" whether the first column corresponds to the lower phase fraction and "yx" whether the opposite. [type:string] | 
| xlbl | Plot's Horizontal axis label. | 
| ylbl | Plot's Vertical axis label. | 
| seriesNames | A list of sequential names which will identify each system provided by the user in the dataSET variable. [type:List] | 
| save | Save the generated plot in the disk using path and filename provided by the user. Default is False. [type:Logical] | 
| filename | A filename provided by the user to save a given plot. No default is provided. [type:String] | 
| HR | Adjust Plot's text to be compatible with High Resolution size [type:Logical] | 
| wdir | The directory in which the plot file will be saved. [type:String] | 
| silent | save plot file without actually showing it to the user. Default is FALSE. [type:Logical] | 
Details
The function have a predefined set of ggplot2 features adjusted to return a high quality picture. More suitable for plotting fitted data, once binodal data usually determined through cloudy-phase point will look irregular.
Value
The plot is returned as a ggplot2 object that can be manipulated accordingly.
Examples
# Populating variable dataSET with binodal data
dataSET <- peg4kslt[ , 1:2]
# Fitting dataSET using Merchuk's function
data <- AQSys.data(dataSET, Order = "xy")
AQSysPlot(data)