legend2latex fixes the legend problem without the need for @...@. See my comment on the legend2latex File Exchange page for info on how to incorporate it into plotepstex.
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 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.
5
23 Jul 2011
update legend
With this function you can refresh the existing legend.
% get the legends handle
leg = findobj(gcf,'Type','axes','Tag','legend');
% delete it an load it again:
delete(leg);
legend show;
% certainly now not an all matching solution, but it might help some of you...
Comment only
07 Apr 2011
Pareto Front
Two efficient algorithms to find Pareto Front
Hi,
I'm not able to compile the .c file using the Intel C++ compiler. Would you mind to upload the code for MATLAB2011b on 64 bit machines?Thanks,
Javier
Comment only
12 Jan 2011
Pareto Front
Two efficient algorithms to find Pareto Front
Hello,
I want to use this function to determine the Pareto front for minimum X and maximum Y (and this function is used to determine minimum X and minimum Y).
How can I change these conditions?
Thanks in advance.
Comment only