Thanks for this function, it is very helpful.
I have added a feature to adjust the legend width when using math code. The math code takes a lot of space which makes the legend too wide. With this feature you can add placeholder text delimited by @...@ in a legend line. This isn't printed in the eps, but it is used to size the legend. This gives correct legend box widths. The modified file is included with the latest update of plot2eps, which uses plotepstex and laprint and further streamlines the work flow.
I'm excited by the possibilities of this program. However, (on Windows), I'm having real problems to get it to work reliably. It's worked twice (out of many attempted times), but most other times I get a latex error. I am not sure what difference there was in the various times I used it - to me they seemed the same. It stops at the latex step, with latex being unable to find the aux file. Could this problem be related to having to create a symbolic link? If anyone has experience troubleshooting this function on Windows, I'd really appreciate any help.
I am using MATLAB R2012b 64 bit version. When I try to compile the mex file it gives an error saying
"Error using mex (line 206)
Unable to complete successfully."
What should I do to get this problem resolved?
Something strange happened I'm working on Matlab 7.11 under Win 7 (32b). On hp intel i5.
Then i used the mex file given and the example works really fine. But then i decided to follow what is stated in other requirements. It compiles and runs properly no errors. The issue is that the reported CPU times after recompiling are double. Isn't that odd? Obviously i'll use the original file from the posts, but the new compilations shouldn't be more efficient?. What am i missing here?
PS: Great submission
Beautiful job, Thanks for sharing.
for 64 bit uses check these two links I think they help a lot:
I encountered the following problem under ubuntu.
Warning: You are using gcc version "4.4.3-4ubuntu5)". The earliest gcc version supported
with mex is "4.1". The latest version tested for use with mex is "4.2".
To download a different version of gcc, visit http://gcc.gnu.org
paretofront.c: In function ‘paretofront’:
paretofront.c:83: error: expected expression before ‘/’ token
mex: compile of ' "paretofront.c"' failed.
The way to solve it is to delete the comment at line 83 in the paretofront.c file.