M Atakan Gurkan venit, vidit, dixit 21.07.2011 14:44: > Hello everyone, > > I am a long time PyX user, I used it to prepare some figures in my > thesis back in 2005 and have been using it on and off over the years. > Let me start by expressing my gratitude for building such a nice and > useful tool. > > Recently I used PyX for a project of mine, a celestial events almanac: > https://github.com/atakan/PySkyAlmanac > I hope this project can serve to demonstrate the capabilities of PyX. > > Using PyX for this project allowed me to notice some fine points that > are not explained in the manual. I resolved the issues I encountered by > trial-error, but I am sure there must be other (and more robust) ways. > Here are a few questions I pondered: > -- Is there a natural way to produce color gradient plots as in the > background of the chart I prepared? I do this by making a graphxyz, > switching off the grid and the axes, and looking at the graph from the top.
That is the intended way, I think. > -- How is the location and size of a graph determined when it is > inserted to a canvas, as in here? How are the scale and translation > factors calculated? > -- What is the format for dash patterns? In particular what is the size > and the separation of the dots in a dotted line pattern? How does this > change with various parameters, e.g. linewidth? Use the source, Luke :) > -- Is there a way to incorporate PStricks into PyX? I needed this for Using PStricks in a TeX fragment within PyX does not work. You can include an eps generated by pdflatex, though, as a workaround. > the textpath feature of PStricks: > http://tug.org/PSTricks/main.cgi?file=Examples/textpath > Maybe something like this can be implemented in PyX? It is implemented, I had patches for that quite a while ago, based on an idea by the gurus. It is in the text-along-path branch at http://repo.or.cz/w/PyX/mjg.git but based on an old svn. I'm currently looking at my old stuff again and may rebase it (so beware of branch rewinds...). I think the way I switched on "single-char mode" was disliked back then. I'll probably rebase the simpler stuff first (working on hiresbbox now). Cheers, Michael ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
