DJ Clayworth

218 Reputation

6 Badges

18 years, 181 days

MaplePrimes Activity


These are replies submitted by DJ Clayworth

And of course don't forget to tell your school about the wonderful new features in Maple 10. :-) David Clayworth Maplesoft GUI Developer
There is no facility for doing this in Maple right now. The best bets are to use a contrasting colour for the text (as above) or to create your own background polygon (as you are doing). David Clayworth Maplesoft GUI Developer
There is no facility for doing this in Maple right now. The best bets are to use a contrasting colour for the text (as above) or to create your own background polygon (as you are doing). David Clayworth Maplesoft GUI Developer
We strongly recommend using the plottools routines wherever possible, rather than the PLOT command. David Clayworth Maplesoft GUI Developer
We strongly recommend using the plottools routines wherever possible, rather than the PLOT command. David Clayworth Maplesoft GUI Developer
Are you looking for a 2D plot with a number of lines on, each line corresponding to a value of t? If so then a simple if slightly longwinded way of doing this is (for plots of y=sin(t*x)): P1:=plot(sin(1*x),x=0..4,legend="t=1",color=red): P2:=plot(sin(2*x),x=0..4,legend="t=2",color=green): P3:=plot(sin(3*x),x=0..4,legend="t=3",color=blue): plots[display]([P1,P2,P3]); David Clayworth Maplesoft GUI Developer
Are you looking for a 2D plot with a number of lines on, each line corresponding to a value of t? If so then a simple if slightly longwinded way of doing this is (for plots of y=sin(t*x)): P1:=plot(sin(1*x),x=0..4,legend="t=1",color=red): P2:=plot(sin(2*x),x=0..4,legend="t=2",color=green): P3:=plot(sin(3*x),x=0..4,legend="t=3",color=blue): plots[display]([P1,P2,P3]); David Clayworth Maplesoft GUI Developer
Hi Shuhlit. Thanks for your question. First your Student Edition of Maple 10 has exactly the same features and capabilities as the professional Maple 10 edition - it's just specially priced for students. You have the whole power of Maple at your disposal. The package you are looking for in order to draw accurate shapes in Maple is called 'plottools'. Type ?plottools into Maple (or use the help menu) and it will give you an overview of its capabilities. You can use it to draw most 2D and 3D primitives that you are likely to want, with commands like 'circle', 'hyperbola' and 'polygon'. These commands don't generate plots themselves - they generate plot structures that you can use as arguments to the 'display' command (part of the 'plots' package'). The arguments to the plotttools command are mostly positions that can be calculated exactly using Maple. Here is a sequence of commands that will draw a circle radius 1 and a right triangle with one angle exactly fifty degrees. Each command also has a set of examples on its help page. The 'scaling=constrained' argument ensures that the plot is drawn with the same scaling on the X and Y axes, otherwise your shapes will look distorted. with(plots); with(plottools); display([circle([2, 1], 1), polygon([[0, 0], [cos((50*Pi)/180), 0],[cos((50*Pi)/180),sin((50*Pi)/180)]])],scaling = constrained); David Clayworth Maplesoft GUI Developer
Hi Shuhlit. Thanks for your question. First your Student Edition of Maple 10 has exactly the same features and capabilities as the professional Maple 10 edition - it's just specially priced for students. You have the whole power of Maple at your disposal. The package you are looking for in order to draw accurate shapes in Maple is called 'plottools'. Type ?plottools into Maple (or use the help menu) and it will give you an overview of its capabilities. You can use it to draw most 2D and 3D primitives that you are likely to want, with commands like 'circle', 'hyperbola' and 'polygon'. These commands don't generate plots themselves - they generate plot structures that you can use as arguments to the 'display' command (part of the 'plots' package'). The arguments to the plotttools command are mostly positions that can be calculated exactly using Maple. Here is a sequence of commands that will draw a circle radius 1 and a right triangle with one angle exactly fifty degrees. Each command also has a set of examples on its help page. The 'scaling=constrained' argument ensures that the plot is drawn with the same scaling on the X and Y axes, otherwise your shapes will look distorted. with(plots); with(plottools); display([circle([2, 1], 1), polygon([[0, 0], [cos((50*Pi)/180), 0],[cos((50*Pi)/180),sin((50*Pi)/180)]])],scaling = constrained); David Clayworth Maplesoft GUI Developer
First 6 7 8 Page 8 of 8