Weasel Words

See all articles from CATS v9 n3
Author(s): Mannie Quintero
Publication: CATS Newsletter
Pub Details: CATS v9 n3 (Volume 9, Issue 3)
Date: August 1991
Pages: 6

W(orking in) EASEL

[Presented at the July 1991 CATS meeting. Use as a Beginner’s Tutorial inputting your own temperature figures and watching the graph grow as you follow the text.]

PSION‘S EASEL or GRAPHING program claims it is FULLY INTERACTIVE and that WHAT YOU SEE IS WHAT YOU GET (WYSIWYG). What they mean is that when you type in figures, you see the graph being made in front of your eyes and that you can easily add and move TEXT.

Loading the program, you see three sections; top, which is the CONTROL or PROMPT area, middle, or DISPLAY area, and bottom, the STATUS area.

At the top, HELP can be gotten using the F1 key. You should have configured the HOB (help) file to be placed on the drive you wanted (normally drive one). Drive can be mdv(slow) or flp or,even, ramdisk (fast) or hard disk. F2 (toggle on and off) will redraw the screen WITHOUT the top area and make the graph area larger. F3 will clear the top and then put the commands there, available to you at the touch of the key for the first letter of the command. F4, though not shown at the top, will delete an erroneous or unwanted value in a cell. ESC will cancel an incomplete or erroneous command you gave.

Still at the top, the TABULATE key will permit you to move the vertical crosswire to the Right: SHIFT&TAB will move wire Left in the graph area. X-WIRES is self-explanatory. To type TEXT, you must preface first letter of text with a quote mark(“). FORMULAE are entered directly as are NUMBERS. FORMULAE AND NUMBERS WILL BE PLACED IN THE CELL WHERE THE VERTICAL WIRE IS LOCATED.

At BOTTOM, the cursor is where your input will be shown as you type it. CURRENT NAME shows the name given the figures you are inputting (if there are more than one set of figures in your graph, there will be more than one name; only the current name will be shown and that is the set whose data you may change.) MEMORY shows how much is available and will show any error messages. FORMAT shows the type of graph you are making(bar,line,or pie) and the kind of line or bar being shown.

Let us start with a bar graph of the average monthly temperature in degrees Fahrenheit for Annandale for 1989.

Type in the value and ENTER(CR) – see the bar appear and the vertical line shift to right, ready for next value. Note how the scale at left side is automatically adjusted to cover the range of values entered. Continue input through December and, OOPS, your V. wire moved into a new,unnamed, cell which should pertain to 1990. To get rid of it and redraw the graph in proper size, do F3, press V(iew), CR, & CR. Ain’t it pretty now? Yeah, but it is untitled and info is lacking as to what the left axis numbers represent.

To place a title at top, press E(dit), T(ext), move cross hairs near start of the word TITLE, press CR, and the word TITLE is shown next to cursor at bottom.

“1989 AVERAGE MONTHLY TEMPERATURE (F) – ANNANDALE” typed in , CR, and dragged with Xhairs to desired position and CR, and there’s your title.

Now for the left axis. Do E(dit), A(xis-names), V(ertical). Type Degrees (F), CR, drag to desired position, and CR. OOPS, the parentheses don’t look so hot, do they? Repeat E,A,V and delete them. Do same for H(orizontal) and put Month at bottom. Or 1989 if you wish.

There’s your finished graph. You can P(rint) it, S(ave) it, or get rid of it by Z(ap)ping it, destroying everything you’ve done, OR K(ill) followed with the Current Name which will only erase the values leaving the Name and Axes names intact, OR change its appearance by C(hange) and any of the items which change the graph’s appearance.

Let’s suppose you aren’t happy with the name of the current figures: up to now it has been Figures. Do R(ename), CR, type new name, say, tf89, and CR and there’s your new name for the data. Another way is to ESC to the FORMULAE mode and type this formula, “desired name”= current name, e.g. tf89=figures. Note that when you do this, the type of bar used is changed. You can do other neat things with Formulae besides changing the current name. S’pose we want to have our values in Centigrade degrees. Simply type formula tc89=5/9*(tf89-32) and watch what happens. Of course, you’d need to change your title and left axis name. There’s new bars, new left-axis values, and the new current name for your Centigrade data. To go back, type tf89=9/5*tc89+32.

Let us S(ave) our graph calling it tf89: Easel adds the extension _grf.

Let’s now change the type of bar used to show the data. Do C(hange), B(ar), and CR at the ? prompt so you can see the bars available. Move with arrow and CR to select. Your graph changes accordingly.

Now let’s graph the same thing for 1990. THIS TIME, since we are going to enter new data, we must start with N(ewdata) and give it another name, e.g. tf90. Enter the data and change the title. Save it as tf90. When you display the graph now, you will see two bars in each cell

You also see what is called the KEY which shows what data are displayed in your graph. It is interfering with your graphic display so– move it, OR, erase it.. Do E(dit), K(ey-position), and drag it to where you want it to be & CR.

Let us change to a line graph. Do C, L, CR, and select the line you want- then CR. Your latest graph now has line and bar display. REMEMBER, the data you changed to line display was that shown as CURRENT NAME. To change the other set of data, do O(lddata),type its name, C, L, CR, and make your selection.

Now, let’s suppose we wish to have our graph show the difference, temp in ’90 minus temp in ’89. Remember how we used FORMULAE? Do the same thing, writing diff=tf90-tf89 and you will see the graph of those figures. To see all three together do V,CR.

S(ave) the graphs individually by viewing each one separately and saving: save all together by viewing all figures and saving. How’s that for ease and flexibility. If you have separately saved graphs and wish to combine them, load one after another and they will all appear together.

NOTE that I haven’t here bothered to change the name of the graph- I leave that to you.

Things we haven’t covered yet are; CHANGE; AXIS, GRAPH PAPER, SEGMENT, and Attributes of TEXT.

C, A(xis), CR lets you see the choices of colors for the line and labels, graduations or not, and limits which can be set to AUTOMATIC WITH ZERO (you’ll get a larger graph if you exclude zero when your values are distant from zero), or MANUAL in which you can set your own limits (with some restrictions). Try it to see what I mean.

C, G(raph Paper), CR, lets you see your choices of paper and ink color, lines or no. TEXT attributes are similar with the addition of Direction (H or V).

C, S(egment) lets you change the color of any segment of your pie selecting segment using Tab key. Natch, you only have four colors.

Combining Formats in our case requires us to do Olddata, tf89, Change, Bar, select our color bar, then, Olddata, tf90, Change, Bar, select, then View all figures and you have each year in a separately colored bar and the difference shown by a line.

On to PIE CHARTS. ONLY one set of figures at a time(makes sense), and no Negative values. I have found this a rather cranky one to use and wholeheartedly endorse the User Guide when it says it is probably easier to do your graph in line or bar form and convert to pie when done.

Let’s do one called Percent of Population Speaking English, for U.S., USSR, U.K., BOLIVIA, GHANA, and SUDAN. Start by editing the labels, putting U.S. in place of Jan, USSR in place of Feb, and so forth. Do F4 (deleting) Jul. onward. Then View all figures and you have your cells set for these countries. Enter the percentage in each country cell– make a title, and change Format to 7 (pie) and your graph is ready unless you want to change color of some of the segments.

Yet to be discussed are H(IGHLIGHT) and D(EFAULT). Default allows you to set screen display width to 40, 64, or 80 characters. We have only used 80 and have, therefor, been restricted to four colors (64 also), but by use of 40, you can have eight colors and less resolution. If you make color slides of your graphs, it might make things more colorful.

Highlight only works for bar or pie charts and lets you emphasize a single bar or segment OR all negative values in a bar chart (there are no negative values in a pie chart -remember?).

You can make prints of graphs if your dot-matrix printer is compatible with the Epson FX-80. Plotters can also be used. You would need to use install_bas to install your own particular printer. I refer you to the QLUG for some info.

FILES, also, has not been discussed. Included are B(ackup), D(elete), F(ormat), E(xport), and I(mport). I leave the first three to you as the QLUG is adequate in its explanation.

E and I have some pertinent notes and rules on first pages of the QLUG Information section. Per Rule 4, since we have only 1 text item in our tf89 file, we can EXPORT the file to either ARCHIVE or ABACUS. Let’s do it. With tf89_grf loaded into Easel, do F3, F(iles), E(xport), and give it a file name: the exp extension will be supplied by the program.

Start ABACUS and do Files,Import, C(olumns) and your data will be put into the grid where you told it to be put. I leave it to you to import it to see how it looks in ARCHIVE.

Export it from ABACUS, selecting EASEL, and Columns and import it into EASEL (after Zapping your EASEL data) and see how it looks.

Use the QLUG to learn about functions and have fun becoming an EASEL EXPERT.