• Post Reply Bookmark Topic Watch Topic
  • New Topic

Ploticus users : defining an output file  RSS feed

Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I've begun investigating ploticus for use in a java based web application. I have a test app that executes ploticus to produce a graph based on a script called "myLines.htm". I'm having difficulty specifying an output file. I want to define a gif name, but am finding that the resulting file takes the default (ie "myLines.gif"), regardless of the specified output file.
However, if I simply execute ploticus via a batch file in a windows 98 dos session, the gif file is produced as required (ie "defName.gif");
The command line java code and script file follow. Any comments much
appreciated. - thanks - Rowan
commnd line used in a dos session on win98

source code for java test app

script file - mylines.htm
// Use proc page to set the overall text size to 6 pt
#proc page
textsize: 9

// read data file using proc getdata - params from command line
#proc getdata
file: @file
delimit: @delimit
// Define a plotting area using proc areadef
#proc areadef
title: Psychological performance
titledetails: adjust=0,0.1
//rectangle: 1 1 5 2
rectangle: 1 1 5 3.5
xrange: 0 20
yrange: 0 25
yaxis.grid: color=rgb(.6,.6,1)

// Define an X axis using proc xaxis
#proc xaxis
tics: none
label: Alternate Recording Days
// Define a Y axis using proc yaxis
#proc yaxis
stubs: incremental 5
label: Number of 'a' recordings
// Do the curve using proc lineplot
#proc lineplot
xfield: 1
yfield: 2
linedetails: color=red
pointsymbol: shape=square style=fill fillcolor=blue radius=0.02
numbers: yes
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!