wingjammer

40 Reputation

4 Badges

11 years, 314 days

MaplePrimes Activity


These are questions asked by wingjammer

Is it possible to use printf to get math 2d output? For example, I'm writing a loop computing Riemann Sums.

f := x-> x^2; a := 0; b := 1; for i from 1 to 5 do printf("f(x[%d])=%a",i,f(a+i*(b-a)/5)*(b-a)/5); end do;

I would like the output to look nicer. Thanks in advance!

I have a maple document with a few dozen plots. I am using the code

plotsetup(ps,plotoutput="C:\\plot.eps"); plot(x^2,x=-1..1); plotsetup(window);

to save the plot as an eps file. Is it possible to alter this code to save the file as a pdf? I've tried changing ps to pdf, but this doesn't seem to work. Thanks!

Is it possible to print an asterisk in a superscript? For example, the plot

plot(x^2,x=-1..1,tickmarks=[[1/2=x^*],[1='a']]);

has x^* at the tickmark x=1/2, but I'd like it to be x*

 

Thanks!

Is it possible for tickmarks to be different colors? For example, say I'm working with the plot

plot(x^2,x=-1..1,tickmarks=[[-1,-1/2,1/2,1],[]]);

Is there a way to make the tickmarks at x=-1/2,1/2 red while making the tickmarks at x=-1,1 blue?

Or, alternatively, is there a way to turn the tickmarks at x=-1/2,1/2 into red subticks and make the tickmarks at x=-1,1 blue?

Thanks!

1 2 Page 2 of 2