free5721

80 Reputation

6 Badges

18 years, 104 days

MaplePrimes Activity


These are replies submitted by free5721

What I have done is combine numerous lined plots (one for each row of points and one for each column of points) using the display command so that a surface is generated. For example: For an m x n matrix with z data #creating the x-direction line plots for i from 0 to m do xlinedata:={seq(seq([i, j, z[i,j]],j=0..n),i=i..i)}: xlinedataplot[i]:=pointplot3d(xlinedata, color=red, style=line); end do: #creating the y-direction line plots for j from 0 to n do ylinedata:={seq(seq([i, j, z[i,j]],i=0..m),j=j..j)}: ylinedataplot[j]:=pointplot3d(ylinedata, color=red, style=line); end do: #combining the directional plots display([seq(xlinedata[i],i=0..m),seq(ylinedata[j],j=0..n) ]); P. Freeberg
What I have done is combine numerous lined plots (one for each row of points and one for each column of points) using the display command so that a surface is generated. For example: For an m x n matrix with z data #creating the x-direction line plots for i from 0 to m do xlinedata:={seq(seq([i, j, z[i,j]],j=0..n),i=i..i)}: xlinedataplot[i]:=pointplot3d(xlinedata, color=red, style=line); end do: #creating the y-direction line plots for j from 0 to n do ylinedata:={seq(seq([i, j, z[i,j]],i=0..m),j=j..j)}: ylinedataplot[j]:=pointplot3d(ylinedata, color=red, style=line); end do: #combining the directional plots display([seq(xlinedata[i],i=0..m),seq(ylinedata[j],j=0..n) ]); P. Freeberg
Where can the documentation for this code structure ("plots:-") be found??
Where can the documentation for this code structure ("plots:-") be found??
Scott: Thank you! Thank you! It works. I should have asked the question 5 hours ago! :) Thanks for the tip also about the Do command. I had been using it, but I went back to the Maple 10 syntax when I was trying to isolate the problem.
Scott: Thank you! Thank you! It works. I should have asked the question 5 hours ago! :) Thanks for the tip also about the Do command. I had been using it, but I went back to the Maple 10 syntax when I was trying to isolate the problem.
Thanks for the reply. I couldn't get your suggestion to work. I'll keep playing with it, but see my earlier reply. I am probably wrong here, but doesn't MathML[Import](GetProperty(MathContainer0, value)); actually try to convert the text into MathML twice. Once from the GetProperty and once again using Import? Nevertheless, yes, I'm using Maple 10 and I am upgrading to Maple 11 this weekend. Perhaps all of this is moot. Will the Maple 11 upgrade fix the 2D math issue raised my previous reply? Thanks for all the help. MaplePrimes is the best online help service I've used.
Thanks for the reply. I couldn't get your suggestion to work. I'll keep playing with it, but see my earlier reply. I am probably wrong here, but doesn't MathML[Import](GetProperty(MathContainer0, value)); actually try to convert the text into MathML twice. Once from the GetProperty and once again using Import? Nevertheless, yes, I'm using Maple 10 and I am upgrading to Maple 11 this weekend. Perhaps all of this is moot. Will the Maple 11 upgrade fix the 2D math issue raised my previous reply? Thanks for all the help. MaplePrimes is the best online help service I've used.
Thanks for the response. I can get the title feature to work. However, I have multiple data sets on one graph and it would be nice to refer to them using a legend. Perhaps I need to reevaluate how I want to plot the data. Phil
Thanks for the response. I can get the title feature to work. However, I have multiple data sets on one graph and it would be nice to refer to them using a legend. Perhaps I need to reevaluate how I want to plot the data. Phil
Success! This works. plot(power,x=0..0.025, title = convert(fnormal(power,3), string)); Thanks for everyone's help.
Success! This works. plot(power,x=0..0.025, title = convert(fnormal(power,3), string)); Thanks for everyone's help.
Sorry, I was a little to hasty. Your suggestion works great for truncating the expression. power:=PowerFit(X,Y,x); now displays 4.686 x^(0.413) when interface(displayprecision=3), but the expression in memory is still: 4.6860279761942 x^(0.413637849985206863) Which is what the interface command is supposed to do, maintain the precision in memory. But when I use the command plot(power,x=0..0.025, title = convert(power, string)); to convert it to a string for printing the title. My problem still persists. It prints 4.6860279761942 x^(0.413637849985206863) as the title. Phil
Sorry, I was a little to hasty. Your suggestion works great for truncating the expression. power:=PowerFit(X,Y,x); now displays 4.686 x^(0.413) when interface(displayprecision=3), but the expression in memory is still: 4.6860279761942 x^(0.413637849985206863) Which is what the interface command is supposed to do, maintain the precision in memory. But when I use the command plot(power,x=0..0.025, title = convert(power, string)); to convert it to a string for printing the title. My problem still persists. It prints 4.6860279761942 x^(0.413637849985206863) as the title. Phil
Perfect! Thank you. Phil
1 2 3 Page 1 of 3