## Ramakrishnan

Ramakrishnan Vaidyanathan

9 years, 11 days

## Social Networks and Content at Maplesoft.com

With twenty years of Industrial experience and twenty years of teaching experience, I am now as retired Professor, using Maple to teach mathematics subject for students studying X to XII standards. Published XII Mathematics books.

## MathContainer and PlotComponents - Inter...

Maple

I find different commands for for different math expressions from mathContainer to be plotted in a plot component.

In the enclosed document, the mathcontainer expression plots outside, but not inside the plot component. What is the mistake, can any one tell me?

Thanks.

Code inside Click to Plot Button -  Edit Click Code

use DocumentTools in
with(plots):
plt:= GetProperty("MathContainer0",expression);
SetProperty("Plot0",value,plt);
end use;

In the plot component "Plot0" it is not plotting!!

## same command does not write the expressi...

Maple

Thanks to the answers received by mapleprime friends, I have made 2 documents. In both documents, i want the expression to be modified and shown in mathcontainer. In my earlier question  "Slider Commands - "value" or value or both are ok" ,   the command " SetProperty (MathContainer0, value,sin(x)" it worked. In the attached doc, it does not work. The same command in updateplot procedure, works, but incorrectly.

Thanks for clarification.

Ramakrishnan V

Function: Examples:

All valid input values for the function ( i.e. for x value, function exists) is domain. This can be visualized by a point in graph (x,y)

 (1)

 (2)

 (3)

 (4)

## Slider Commands - "value" or value or bo...

Maple

In the attached document, I have made use of both commands as follows.

a:=GetProperty(SliderA,"value");

b:=GetProperty(SliderB,value);

Both are working alright. How is it possible? Which one is desirable?

 a: b: For sliderA, GetProperty(SliderA,"value") is used. For sliderB, GetProperty(SliderB,value) is used. Both are working alright. How? Which one is more desirable?

Ramakrishnan V

## Which code is more useful for embedded p...

Maple

Dear friends,

I have attached a document with two commands  in slider0 for plotting the same graph in two plot components.
use DocumentTools in
a := Do(%Slider0/100);
b := Do(%Slider1/100);

Do(%Plot0 = plot(sin(a*x)+cos(b*x^2),x=0..10,y=-3..3));
SetProperty("Plot1",value,plot(sin(a*x)+cos(b*x^2),x=0..10,y=-3..3));
end use;

I am just curious to know which one is better and when?

Ramakrishnan V

Maple

Dear members, Can anyone help me, how to adjust the spacing between lines, sections in adjacent paragraphsand sections within a paragragraph.

 Sec 1

 Sec 2
 Sec2

How do I vary the spacing between the lines?