Suggestion for subplots
Submitted by Anonymous on Fri, 16/04/2010
Hmm... Looks like I will make the first post in this forum :)
I have a suggestion for converting subplots. I noticed matlab2tikz fails quite often (depending on how the subplots are defined) at making compilable subplot figures.
When making subplots with pgfplots, I use the groupplot environment which is, according to me, a much easier way for defining subplots. Also, its syntax lies closer to the matlab syntax for defining subpplots.
If I find some time I will look into it, but since I don't know the internals of matlab2tikz it might be faster if someone else takes a shot...
Wannes
Forums:

Yeah, the groupplots were
Yeah, the groupplots were introduced to pgfplots not long ago, which is why i implemented it in a different way back then. in a way, group plots are less flexible then what matlab has to offer, b/c there you can create not only create subplots with
subplot(), but move the plots arbitrarily. anyway, merging the groupplot mechanism into matlab2tikz is certainly a good idea. i'm now about to rewrite the thing a bit, maybe i'll attack this later this year. cheers, nico