Results 1 to 2 of 2

Thread: Printing graphs in octave

  1. #1
    Join Date
    Jul 2008
    Beans
    4

    Printing graphs in octave

    Hi

    I am running octave in ubuntu hardy

    I can set the axis limits using the axis([xmin xmax ymin ymax]) command and it seems to work when displaying the graphs. The problem is when i print the graphs to file the axis limits change back to what seems like the automatic scaling limits and not the limits I set. This is a problem because it makes comparing the graphs inconvenient.


    Any help would be appreciated.

    From
    Melch

  2. #2
    Join Date
    Aug 2005
    Location
    Fargo, ND, USA
    Beans
    1,499
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Printing graphs in octave

    I tried it on Intrepid and Hardy, and it works find for me.
    Code:
    plot(randn(100,1))
    axis([1 50 -1 1])
    print -landscape plot.ps
    My Hardy has a newer version of Gnuplot, though.
    Code:
    $ gnuplot --version
    gnuplot 4.3 patchlevel 0
    Help yourself: Search the community docs or try other resources.
    Quote Originally Posted by Henry Spencer
    Those who do not understand Unix are condemned to reinvent it, poorly.
    Let science use your computer when you aren't: Folding@Home.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •