Bad news about the forum trouble

Code: Select all
DPlot_Command glDocNum, "[ManualScale(0,0,.05,1,0,400)][SelectCurve(3)][MultipleYAxes(2,2,0)]"
Here's how I'm creating the DplotJr window (using PowerBASIC):
Code: Select all
ghDPlot = DPlot_Start(0, DPlotWasActive)
' Get the screen work area, for positioning the DPlot window
SystemParametersInfo %SPI_GETWORKAREA, 0, rcWork, 0
' Move DPlot to lower right corner of screen
GetWindowRect(ghDlg, rc)
cx = 550
cy = 425
SetWindowPos ghDPlot, %HWND_TOPMOST, rcWork.nRight - cx, rcWork.nBottom - cy, cx, cy, %SWP_HIDEWINDOW
' Use MsgBox to report errors
DPlot_SetErrorMethod(2)
' Create a new document
glDocNum = DPlot_Command(0, "[FileNew()]")
' Instruct DPLOT to allocate space for 3 curves, 2 hour's worth of data each
DPlot_Command glDocNum, "[FileArrays(3,7200)]"
' Set a few plot parameters: .03" line width, solid line
DPlot_Command glDocNum, "[LineWidth(1,30)][LineWidth(2,30)][LineWidth(3,30)]"
DPlot_Command glDocNum, "[LineType(1,1)][LineType(2,1)][LineType(3,1)]"
' Curve colors
DPlot_Command glDocNum, "[Color(1,255,0,0)][Color(2,0,0,255)][Color(3,0,255,0)]"
DPlot_Command glDocNum, "[ManualScale(0,0,.05,1,0,400)][AutoSize()]" & _
"[SelectCurve(3)][MultipleYAxes(2,2,0)]" & _
"[NumTicks(1,12,10)]" & "[NumberFormat(0,5)][TimeFormat(" & $DQ & "mm:ss" & $DQ & ")]"
' Set labels, titles, fonts
DPlot_Command glDocNum, "[XAxisLabel(" & $DQ & "Time" & $DQ & ")]" & _
"[YAxisLabel(" & $DQ & "l/min" & $DQ & ")]" & _
"[Y2AxisLabel(" & $DQ & "kPa" & $DQ & ")]" & _
"[FontPoints(1,10)][FontPoints(2,12)][FontPoints(4,12)][FontPoints(6,10)]" & _
"[Caption(" & $DQ & "VFC Tools" & $DQ & ")]"
' Legend config
DPlot_Command glDocNum, "[LegendParams(0.25,3,1,1,.05,.05)]" & _
"[Legend(1," & $DQ & "Curve 1" & $DQ & ")][Legend(2," & $DQ & "Curve 2" & $DQ & ")]" & _
"[Legend(3," & $DQ & "Curve 3" & $DQ & ")]"
' Hide menus & such
DPlot_Command glDocNum, "[MenuUpdates(0)]"
DPlot_Command glDocNum, "[ViewToolBar(0,0)]"
DPlot_Command glDocNum, "[MenuHide()]"
DPlot_Command glDocNum, "[ViewStatusBar(0)]"
' And to add the data for curves 1 and 3:
DPlot_AddData glDocNum, %DATA_XYXY, 1, 1, fTimeData, fYdata
DPlot_AddData glDocNum, %DATA_XYXY, 1, 3, fTimeData, fY2Data
Thanks,
Mark