-
alignedaxis is a special case; for the general solution see:
[http://asymptote.sourceforge.net/FAQ/section6.html#align][1]
Note: to include code in this forum, highlight the code and then press the 101/010 button like this:
real x=1;
real y=2;
[1]: http://asymptote.sourceforge.net/FAQ/section6.html#align.
2009-11-22 02:52:29 UTC in Asymptote
-
The reason we didn't implement that is that seems just as straightforward to do this:
real[] values={1/3,pi};
string format[]={"Value1: %f"," Value2: %.2f"};
for(int i=0; i < values.length; ++i)
write(format(format[i],values[i]),none);.
2009-11-21 16:46:57 UTC in Asymptote
-
As mentioned in many forum posts, to work around the bug in your graphics driver/card that is causing the black stripes, you need to reduce maxtile from the default (0,0), which denotes the screen dimensions. For example, try something like:
asy -tex pdflatex -noprc -maxtile=(400,400) test.asy
Alternatively, update to a fully functional graphics driver/card. On UNIX systems one needs...
2009-11-21 16:33:15 UTC in Asymptote
-
You forgot to post your example. Without a minimal example that illustrates the issue, you can't expect much help from anyone on this forum.
You also should first read recent [forum posts][1] on this same topic:
[1]: http://sourceforge.net/projects/asymptote/forums/forum/409349/topic/3453776.
2009-11-21 06:44:01 UTC in Asymptote
-
You need to read the documentation of module three carefully.
In particular, see the discussion of the option -render=0.
2009-11-21 04:58:28 UTC in Asymptote
-
I have added a simplified version of this example to svn as polardatagraph.asy.
2009-11-17 18:46:47 UTC in Asymptote
-
jcbowman committed revision 4753 to the Asymptote SVN repository, changing 2 files.
2009-11-17 18:46:36 UTC in Asymptote
-
jcbowman committed revision 4752 to the Asymptote SVN repository, changing 1 files.
2009-11-17 18:45:18 UTC in Asymptote
-
With the latest svn version of graph.asy, plain_paths.asy,and three.asy you can now say:
import graph;
size(100);
// create random data for polar plot
int n=30;
real minRadius=0.2;
real dangle=360./n;
real angles[] =uniform(0,360.-dangle,n-1) * pi/180.;
real[] r=new real[n];
for(int i=0; i < n; ++i)
r[i]=unitrand()*(1-minRadius)+minRadius;
interpolate join=operator...
2009-11-17 18:39:33 UTC in Asymptote
-
jcbowman committed revision 4751 to the Asymptote SVN repository, changing 2 files.
2009-11-17 18:38:24 UTC in Asymptote