1,038 reputation
21124
bio website cs.wisc.edu/~tdw
location University of Wisconsin-Madison
age 27
visits member for 3 years, 1 month
seen 2 hours ago

Ph.D. student in theoretical computer science interested in the complexity of counting problems.


Mar
25
comment Color the faces of a graph
The second problem closely follows, which is that those giving PSTrick solutions have not convinced me that PSTricks is better suited for my problem than TikZ. I suggested that Karl's students could do this but he has yet to accept my offer. Therefore, I will focus on understanding TikZ better and consider only those solutions given in TikZ.
Mar
25
comment Color the faces of a graph
@PeterGrill Not hash and I completely agree with you. I enjoy when I can find an answer that helps me solve my problem regardless of that OP's question. As to the possibility that some library may be able to do this straight away, I was thinking that Alain Matthes' tkz-graph could be useful (but if it were, I would have expected him to say something). The biggest problem I have with a PSTricks solution is that I don't understand it. (continued)
Mar
25
comment Color the faces of a graph
@SvendMortensen Since you seen so interested in how and why I vote the way I do, you will probably like to know that I have now upvoted this answer for his beamer/gif animation.
Mar
25
comment Color the faces of a graph
@SvendMortensen I am not saying that Karl's student's solution isn't a fine solution. I am merely saying that I requested a solution that was a modification of what I started with and his answer isn't that. I don't know what you do with TikZ, but I use it in large documents so it is highly beneficial to minimize the number of dependencies. I am already using TikZ in many other ways in the document and neither Karl's students nor you have convinced me that I should convert from TikZ to PSTricks because of the issues I face with this particular image.
Mar
25
awarded  Nice Question
Mar
25
comment Color the faces of a graph
I submitted a bug report on SourceForge.
Mar
25
comment Color the faces of a graph
To whom should I/you/we submit a bug report about this?
Mar
25
comment Color the faces of a graph
But your solution is more than just Alain Matthes's solution modified to use \foreach and I am trying to figure out what exactly those differences are.
Mar
25
comment Color the faces of a graph
Why does using open triangle 60 instead of triangle 60 cause a small gap to appear between the shaded region and the dashed edge?
Mar
25
comment Color the faces of a graph
Of course your solution might help someone else who views this question, but it is not that helpful to me. If you must know, the reason to only modify my original code is that I have many other pictures created in a similar way and I want them all to look the same. For example, your edges look nothing like mine. Thus, even if you literally interpret my "wish" to modify the image instead of the code, you have already failed by making the edges look different for no apparent reason. In constrast, Alain Matthes's solution changes the arrow tips to triangle 60 but for a good reason.
Mar
25
comment Color the faces of a graph
@Karl'sstudents As I already said, I disagree. I don't think the \foreach functionality in TikZ very readable. Worse yet, I am not the only one that will use this code and the others that will know and understand TikZ considerably less than me. Of course I believe in the DRY paradigm. If were willing to specify these paths twice, I am sure that I could figure out how to first get the graph to look correct (which I have already done) and then repeat the paths just to be able to fill. However, I am quite unwilling to settle for this solution.
Mar
25
comment Color the faces of a graph
It is fine to give a completely different answer that what I am looking for, but you should at least try to convince me why your way is better. For example, you could try to argue that what I was doing can be considered a hack but your solution is elegant. I more than welcome you to update your answer with such an argument.
Mar
25
comment Color the faces of a graph
You can certainly upvote their answers for whatever reasons you wish just as I may downvote them for whatever reasons I wish.
Mar
25
comment Color the faces of a graph
Ok, sure. Point taken, but then what is purpose of me providing a MWE if you are going to completely ignore it.
Mar
25
comment Color the faces of a graph
"An Asymptote solution is a valid graphics solution similar to other TikZ/PSTricks solutions." In general yes, but not when I ask how to "modify the image (see code below)".
Mar
25
comment Color the faces of a graph
Actually, I usually prefer not to use \foreach. I think it makes the code unreadable. Can you implement your solution without using \foreach?
Mar
25
comment Color the faces of a graph
I don't mind changing the arrow tips to triangle 60 to make this simpler.
Mar
25
comment Color the faces of a graph
You didn't use a single line of code from my example that I am interested in.
Mar
25
comment Color the faces of a graph
You didn't use a single line of code from my example that I am interested in.
Mar
25
comment Color the faces of a graph
@Qrrbrbirlbel I have seen many examples using \fill and \clip, but I don't understand how to implement those solutions given that I have curved paths.