export interactive 3D stem plot

7 次查看(过去 30 天)
Stephen Devlin
Stephen Devlin 2018-1-12
回答: Rik 2018-2-12
Hi,
I have looked online for ways to share a Matlab 3D plot and keep it interactive, I have a stem plot (could plot it as a scatter) and it looks like most of the methods for sharing only use mesh/surf etc. Is there a way to do it without the person having to have a Matlab license?
Best regards
Steve

回答(1 个)

Rik
Rik 2018-2-12
There are 2.5 main ways of sharing Matlab code with people without Matlab and still keeping it interactive.
  1. Compile your project to an executable. This requires you to have a valid license for the coder toolbox, and will (always or in general) require the end use to install the MCR (Matlab Runtime Compiler) for the version you used to compile your project. They can be big (>500MB), but they are free to use under most circumstances (you should always check if you intend to sell your work). Last time I did something like this, I had the option to include the MCR in the 'setup' for my program.
  2. Use GNU Octave. This will require debugging and means you can't obfuscate your code. It is free, so you can freely distribute it, but it is almost always slower, has less functions, has more bugs and sometimes requires downloading and installing another package to access more advanced functions. 'Nothing is free' is something you will notice if you use Octave, but it can be a really good option under some circumstances.
  3. Compile your project to an executable with Octave. This combines most of the downsides of both previous methods, but if you really want to, you can do it.
There may be other options, but these are the main, easily accessible ways to share an interactive 3D plot.

类别

Help CenterFile Exchange 中查找有关 Octave 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by