Category:Saturn Graph: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 78: | Line 78: | ||
Another option in SIG are slide shows which pull up a sequence of charts to aid a talk like a primitive Power Point. |
Another option in SIG are slide shows which pull up a sequence of charts to aid a talk like a primitive Power Point. |
||
I am in the process of working out how to use the HPGL capabilities of a color laser printer. These printers usually have a TCP/IP RAW port 9100 and RSX11M+ with Johnny Billquist's TCP/IP can send text to be printed directly to this port. An example of how easy this can be is shown in the RSX command file below. |
I am in the process of working out how to use the HPGL capabilities of a color laser printer. These printers usually have a TCP/IP RAW port 9100 and RSX11M+ with Johnny Billquist's TCP/IP can send text to be printed directly to this port. An example of how easy this can be is shown in the RSX command file below. To create a file of HPGL to send to a Color Laser Printer, assign a logical name to the local disk drive (e.g. ASN DU0:=BP: ), then in SIG's device definitions create a device BP: and set it to be a HP7550. Then display the graph you choose to BP: A file, VECTOR.LST will be created. Next use EDT to change the first line in that file to remove the HPGL commands from Saturn and replace them with HPGL commands to initialize the Laser printer with appropriate |
||
<tt><pre> |
<tt><pre> |
||
| Line 92: | Line 92: | ||
; Printing 'P1' |
; Printing 'P1' |
||
PIP TC:"192.168.1.2";9100='P1' |
PIP TC:"192.168.1.2";9100='P1' |
||
</pre></tt> |
|||
To create a file of HPGL to send to a Color Laser Printer, assign a logical name to the local disk drive (e.g. ASN DU0:=BP: ), then in SIG's device definitions create a device BP: and set it to be a HP7550. Then display the graph you choose to BP: A file, VECTOR.LST will be created. Next use EDT to change the first line in that file to remove the HPGL commands from Saturn and replace them with HPGL commands to initialize the Laser printer with appropriate plotter window and scaling (IP and SC HPGL) and define pen colors if desired. Below is the initialization sequence I use for my printer. That modified file can then be sent to a color printer at a given TCP/IP sddress. The command file above would send it to 192.168.1.2 so change that appropriately. The image on the right labelled USSERV.GCL was produced by this process. I'm writing a F77 program that will automatically edit the first line and replace it with escape sequences to produce the desired size etc. The escape sequences are stored in a file to make it easy to experiment with changes to the IP and SC values or pen color definitions. |
|||
<tt><pre> |
|||
<ESC>%0B<CR><LF>IN;IP 50,50,10000,8000;SC 0,2200,0,1700;PG;PC 2,0,0,0;PC 3,255,0,0;PC 4,0,255,0;PC 6,255,0,255;PC 7,255,255,0;RO90;<CR><LF> |
|||
</pre></tt> |
</pre></tt> |
||
Latest revision as of 20:55, 12 June 2026
Overview of Saturn Graph
SIG is the menu based interactive graphics function. It takes you through a series of menus based on the type of chart you want to create.
CREATE CHART
Available Options Are:
--> 1 - Pie Chart
2 - Bar Chart
3 - Line Chart
4 - Gantt/Activity Chart
5 - Word Chart
6 - Custom Chart
It also allows you to output your graph to a variety of devices. The devices are defined by option 7 Graphics Device Definitions. In that screen, the first field is the name of the device such as TI:, TT4:, or a logical name. The next field is device type which could be VT240, VT330, VT340, HDS220, TEK4010, HP7475, HP7550, HOUSTON, NICOLET, LA100, OKIDATA, and a number of others. The devices defined are stored in GTABLE.SAT Table 4 of the Saturn_Install_RT-11.pdf contains a partial list of graphics devices that can be used.
When SIG is told to draw a graph on a particular device, it spawns GRF which creates the file of Regis RGL or HPGL or PLOT10 vectors and spools the output to the device chosen. If the device is a printer, then GRF spawns RAS which converts the vectors into raster based code such as sixels that LA100, LA50 and LA75 printers use.
For someone just starting to use Saturn Graph, the biggest issue is finding a suitable vintage graphics device to display the graphs. Fortunately, Rene Richarz just put the finishing touches on his TEK4010 emulator for Raspberry Pi, Windows and Mac OS. There is a screen shot of a Saturn Graph displaying a chart on Rene's TEK 4010 emulator at the right. You can obtain the TEK 4010 emulator from Rene's github at:
[1](https://github.com/rricharz/Tek4010/)
The best way to use the TEK emulator to log into RSX:
./tek4010 telnet RSXNOD
After logging in, @SETTEK.CMD a command file in the distribution will change some terminal characteristics and define a global logical device name TK: This is the display device that needs to be set up in SIG 7 - Graphics Device Definitions.
Enter the device name TK: <CR> and Device type 4010 <CR>
SIG should fill in the scale range 1024 and 780. Then use PF3 to advance to the Store definitions. This will create a new LB:[1,1]GTABLE.SAT Now you can choose one of the many .GCL example files and choose 4 to display the graph on TK: Graphs display on the 4010 screen and are really fun to watch being drawn. SIG calls GRF to create the vector graphics, GRF pauses to allow you to view the graph and hitting a <CR> will erase the graph amd take you back to SIG.
You can modify the graph with SIG 3 – Edit Chart and then redraw to see the effect of your changes. Once you have the chart perfected you can create a hard copy with a HP plotter or LA printer.
Like the .CCL files of Calc the .GCL files are ascii files that could be created with BASIC or FORTRAN and used via GRF to create graphs. An example of a .GCL file is below. It was created by Calc with the / S G menu but then can be modified by SIG or sent to GRF.
Below is an example of a ballistics chart that was generated by Calc’s / S G command and then displayed by SIG and GRF. You can also just send it to GRF directly >GRF BALLISTIC.GCL but make sure the Device name on the second line is defined.
>TYPE BALLISTIC.GCL
DEVICE,TK:;100,100
CHAIN,SIG,SY:BALLISTIC.GCL
LINE,~06MM REMINGTON,~095 GR NOSLER,12,1,N,D,1,Y,1.15,1,N,D,D,N,N
2,4 ,~0\*,1,0
50.0000, 3162.5073
100.0000, 3051.9802
150.0000, 2943.4194
200.0000, 2836.8245
250.0000, 2732.1953
300.0000, 2629.5320
350.0000, 2528.8347
400.0000, 2430.1035
500.0000, 2238.5386
600.0000, 2054.8376
700.0000, 1878.9995
800.0000, 1711.0255
*, 12
0,700,~0Yards
1500,3500,~0Velocity
*
KEY,95 Nosler
If you have a VT330 or VT340 with a mouse, then you can use option 5 in SIG the drawing program GCU which creates .GDF files which are NOT ascii. There are 32 example .GDF files that can be used as a starting point for further editing. Or example a map of the USA.GDF can be shaded by state to show regions etc.
Another option in SIG are slide shows which pull up a sequence of charts to aid a talk like a primitive Power Point.
I am in the process of working out how to use the HPGL capabilities of a color laser printer. These printers usually have a TCP/IP RAW port 9100 and RSX11M+ with Johnny Billquist's TCP/IP can send text to be printed directly to this port. An example of how easy this can be is shown in the RSX command file below. To create a file of HPGL to send to a Color Laser Printer, assign a logical name to the local disk drive (e.g. ASN DU0:=BP: ), then in SIG's device definitions create a device BP: and set it to be a HP7550. Then display the graph you choose to BP: A file, VECTOR.LST will be created. Next use EDT to change the first line in that file to remove the HPGL commands from Saturn and replace them with HPGL commands to initialize the Laser printer with appropriate
>TYPE NETPRT.CMD .; .; @NETPRT FILE.TXT to printer at 192.168.1.2 .; .DISABLE QUIET .ENABLE SUBSTITUTION .IF P1 <> "" .GOTO PR .ASKS P1 Enter file name to print .PR: ; Printing 'P1' PIP TC:"192.168.1.2";9100='P1'
To create a file of HPGL to send to a Color Laser Printer, assign a logical name to the local disk drive (e.g. ASN DU0:=BP: ), then in SIG's device definitions create a device BP: and set it to be a HP7550. Then display the graph you choose to BP: A file, VECTOR.LST will be created. Next use EDT to change the first line in that file to remove the HPGL commands from Saturn and replace them with HPGL commands to initialize the Laser printer with appropriate plotter window and scaling (IP and SC HPGL) and define pen colors if desired. Below is the initialization sequence I use for my printer. That modified file can then be sent to a color printer at a given TCP/IP sddress. The command file above would send it to 192.168.1.2 so change that appropriately. The image on the right labelled USSERV.GCL was produced by this process. I'm writing a F77 program that will automatically edit the first line and replace it with escape sequences to produce the desired size etc. The escape sequences are stored in a file to make it easy to experiment with changes to the IP and SC values or pen color definitions.
<ESC>%0B<CR><LF>IN;IP 50,50,10000,8000;SC 0,2200,0,1700;PG;PC 2,0,0,0;PC 3,255,0,0;PC 4,0,255,0;PC 6,255,0,255;PC 7,255,255,0;RO90;<CR><LF>
Subcategories
This category has the following 2 subcategories, out of 2 total.