views:

428

answers:

3

I know that Matlab allows for you to format the graph after its created through the interface. However there isn't the same features in Octave. Is there a tool that goes between Octave and GnuPlot? If there isn't such a tool, is there a tool that will generate the formatting options?

I've heard of EasyPlot, but it isn't free.

A: 

Octave uses Gnuplot as the default plotting backend, though it supports other options. It also supports most of the graph functions that Matlab does, including ones that change the plot after it was created.

dimatura
It doesn't have a user interface that you can use to customize it graphically. That is what I'm looking for. I.e. change colors, save to image, crop etc
monksy
Oh, I see. It's true the gnuplot backend doesn't have that. As far as I know the only way to do those things now is to use written commands.
dimatura
+1  A: 

I've used GNU plot in the past for some visualizations. I didn't find any front end interface to set things like colors or labels but it was easy enough to set some basic things on the command line. This site helped me out: http://t16web.lanl.gov/Kawano/gnuplot/intro/plotcalc-e.html

Frank
+1  A: 

I've discovered there are some formatting options on the GNU Plot graph after it has been generated through octave. If you press 'm' it's then possible to right click and get a menu with choices to format the plot (line styles/colour/background/print). However, for me it crashes a lot and changing the values doesn't seem to have much effect.

There is some other functionality by using these key presses..

  • m - allow menu on right-click
  • a - zoom to full window
  • p - previous zoom level
  • r - overlay ruler
  • g - overlay grid
  • b - toggle border
  • 1 - toggle output reading format
  • 5 - display radius measure tool (when ruler is displayed)
  • 7 - format aspect ratio (useful to get square plots to not distort scale)

These are just the ones I've found by randomly testing the keyboard (!), so this is hardly exhaustive. But hope that helps.

Tom
Also - On the menu is an option to Copy to Clipboard, as an image. A quick paste into paint then is a way to save the image from GNU Plot.
Tom