[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::document_ft

Title:DOCUMENT T1.0
Notice:**New notesfile (DOCUMENT.NOTE) now available (see note 897)**
Moderator:CLOSET::ADLER
Created:Mon Feb 09 1987
Last Modified:Thu Oct 31 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:897
Total number of notes:4397

427.0. "Graphs in a document." by PRSIS4::BURESI (Marc, Paris, DTN 858-5395) Wed May 27 1987 12:32

    What are the ways to include a graph in a DOCUMENT document ? In
    base level 6, I included a sixel file, but my LN03 had no graphic
    interface, so only half of the picture was printed.
    
    My very basic need is to draw curves from an indexed files of values.
    I'd like not to have to buy a graphic interface, because most people
    in the field don't have one (it's already difficult to find LN03
    with RAM cartridges!).
    
    What are the way of doing it, tools to use... ?
    
    Thanks, Marc.
T.RTitleUserPersonal
Name
DateLines
427.1CLOSET::ADLERThu May 28 1987 19:267
I don't know of any way to get around the "page too complex" error from
complicated pictures, but for simple curved lines a normal LN03 should
suffice, and you shouldn't need the extra bitmap memory of the LN03+.

Have you looked into DECgraph as a generation tool?

--Brian
427.2SIGHT can do it tooGNUVAX::LIBRARIANLooking at the big skyFri May 29 1987 11:095
    
    SIGHT V0.6 can also generate LN03 graphs. See the notesfile
    SARAH::SIGHT for information.
    
    				Lance
427.3Fullsize images don't fit as partial-page picturesVAXUUM::DEVRIESThose are features, not bugsFri May 29 1987 14:3919
    >    SIGHT V0.6 can also generate LN03 graphs. 
    
    The handful of SIGHT graphics I received several months ago were
    generated as full-page images (approx 8 by 10 inches), even if the
    area of graphical content was quite small.  As a result, these files, 
    when included in VAX DOCUMENT LN03 output and positioned after the top
    margin, caption, etc., exceeded the page depth and caused the LN03
    to eject the sheet and print the footer, page number, etc., on the
    following, otherwise blank sheet.
    
    Is SIGHT able to generate graphs (and graphics) less than a full
    page?  If not, users will have to do some sixel-editing on these
    files.  (Of course, a lot of users have been doing sixel-editing
    for a long time anyway.)
    
    I'm not trying to discourage users from using SIGHT -- I just want
    to increase our collective understanding of the tools available.
    
    Mark
427.4You can have any size you wantGNUVAX::LIBRARIANLooking at the big skyFri May 29 1987 17:117
    
    SIGHT produces .UIS files which the RENDER software processes into
    output files for various devices. The latest version of RENDER allows
    one to specify any output size they want. I have taken 'full size'
    graphics and RENDERed then down to 1" X 1" !
    
    					Lance 
427.5RENDER won't do it allDECWET::KOSAKFri May 29 1987 17:4522
    What Lance says is correct, although it isn't really the whole story.
    RENDER can scale the drawing to most any size, but it scales the
    entire drawing area, not just the drawing within it.  This means
    that any extra space around the chart will be included when it is
    RENDERED.  So, if you have a chart that is wide, but not very tall, 
    and it's drawn in portrait mode you'll end up with a lot of space 
    above or below the chart when it's included in DOCUMENT (or both, 
    depending on where the chart is positioned in the drawing area).
    Centering the drawing within the column will be tough, if not 
    impossible, and if you want to put more than one chart on a page
    they'll get so small they will barely be readable because of all
    the white space that must be included (assuming each chart is a
    separate file).  

    I'd suggest using GRED.  Although GRED doesn't have any chart creation
    functions, it does allow the user to crop any portion of the drawing
    area.  A much nicer solution for including graphics in DOCUMENT.
    Complete instructions for doing this (along with pointers to cropping
    aids available over the net) can be found in the DECwest PIG mentioned 
    in somewhere is topic #275.

    -- Craig
427.6PDVAX::P_DAVISPeter Davis (aka SARAH::P_DAVIS)Fri May 29 1987 17:5210
    Yes, SIGHT does not have any cropping facilities.  It does, however,
    let you choose among three picture "shapes": Portrait (width/height
    ratio 0.75), Landscape (width/height ratio 13.333...), and Square
    (width/height ratio 1).  What you can do is choose which shape best
    fits the part of the page you want to use, scale the objects (including
    graphs) in the picture to fill as much of the SIGHT screen as possible,
    and then use RENDER/FRAME/SIZE to get the output to whatever actual
    size you want it to be.
    
    -pd 
427.7Re: .-* Thanks - Marc.PRSIS4::BURESIMarc, Paris, DTN 858-5395Sun May 31 1987 21:140
427.8Ignorance speaks out!ZEPPO::LAMBERTThere must be higher love...Wed Jun 24 1987 17:0015
hmm...

OK i've used sight to draw a real pretty block diagram of a system i'm 
designing and i've rendered it using

$ render/fram/siz=(5,5)/units=inch/dev=ln03 system.uis /output=system.ln3

supposedly this gives me a 5" x 5" picture of my block diagram but...

how do i get it into my document?

please forgive me if this is a stupid question, i'm a real novice to both
document and sight - we never considered doing such things in runoff...

-bob-
427.9Use the <figure_file> tag described in UG1COOKIE::JOHNSTONWed Jun 24 1987 18:270
427.10"danke!"ZEPPO::LAMBERTThere must be higher love...Thu Jun 25 1987 15:270