0
votes
1answer
199 views

Exporting plot as vector graphics in Octave or matlab

I know I can export a plot in octave as a PNG but is it possible to export a plot as a vector graphic image? The reason I ask is that some of the points on my plot are very close together and I would ...
3
votes
1answer
140 views

Conditional variables depending on whether Matlab or Octave is running the code

I have written some code for Matlab/Octave. Basically, they have the same syntax and everything, but, for example, they have different functions for optimization (linprog/glpk,quadprog/qp). I want ...