imparter

155 Reputation

8 Badges

12 years, 158 days

MaplePrimes Activity


These are replies submitted by imparter

@Kitonum 

thanks a lot sir, but i want the graph should be displayed one after other, column wise,  

 

@Kitonum 

thanks for your suggestions

@Rouben Rostamian  how to put legends at the bottom with different line + symbol sytles

@Rouben Rostamian  

thanks for your suggestions

@Preben Alsholm 

i want to know that either for h(z)  it is taking different range or not.

thanks for your reply

@Preben Alsholm 

for different h(z) it is taking  the values

@Kitonum 

DearSir i want a graph for different F=0.2,0.25, 0.3,.

total  9 values in one graph . Here is may codes.

 

restart:
h1:=z->1-(delta2/2)*(1 + cos(2*(Pi/L1)*(z - d1 - L1))):
h2:=z->1-(delta2/2)*(1 + cos(2*(Pi/L2)*(z - d2 - L2))):
h3:=z->1+(delta2/2):
assign(seq(K[i]=((4/h||i(z)^4)-(sin(alpha)/F)-h||i(z)^2+Nb*h||i(z)^4), i=1..3)):

lambda1:=Int(K[1],z=0..0.2):
lambda2:=Int(K[2],z=0.2..0.4):
lambda3:=Int(K[3],z=0.4..0.6):
lambda:=lambda1+lambda2+lambda3:
 
F:=0.2:,F=0.25,F=0.3
L1:=0.2:
d1:=0.2:
d2:=0.2:
L2:=0.3:
alpha:=Pi/6:
plot( [seq(eval(lambda, Nb=j), j in [0.1,0.2,0.3])], delta2=0.02..0.1);

@tomleslie 

sir, if we run the codes whats you have given i am getting the legend style only line as given in graph.

 but i want line with diamond circle etc ,... so on

 

@tomleslie  yes sir  i want a line style should by like line +diamond, line + cross, so on  , for the code i have provided i sample graph which i have mentioned earllier

 

@tomleslie 

dear sir i we get the lines of of graph like this as i am attaching the figure

codes are , 
 

 

restart;
  F:=0.3: L1:=0.2: d1:=0.2:
  d2:=0.2: L2:=0.3: alpha:=Pi/6:
  h:=z->piecewise( z<=0.2,
                               1-(delta2/2)*(1 + cos(2*(Pi/L1)*(z - d1 - L1))),
                               z<=0.4,
                               1-(delta2/2)*(1 + cos(2*(Pi/L2)*(z - d2 - L2))),
                               z<=0.6,
                               1+(delta2/2)
                            ):
  K:=((4/h(z)^4)-(sin(alpha)/F)-h(z)^2+Nb*h(z)^4):
  lambda:= Int(K,z=0..0.6):
  plots:-dualaxisplot( plot( [ seq(eval(lambda, Nb=j), j in [0.1,0.2,0.3])],
                                               delta2=0.02..0.1,
                                              view=[0.02..0.1, 0.85..1.2
                                            ]
                                          ),
                                    plot( 0,
                                             delta2=0.02..0.1,
                                             view=[0.02..0.1, 0.85..1.2]
                                          )
                                 );

@tomleslie 

sir i am getting an error like this

Error, invalid input: plot expects its 1st argument, p, to be of type {set, array, list, rtable, algebraic, procedure, And(`module`, appliable)}, but received delta2 = 0.2e-1 .. .1
 

@tomleslie

sir ,if i am using this syntax i am getting an error,

please  give suggestions and syntax to me

dualaxisplot( [seq(eval(lambda, Nb=j), j in [0.1,0.2,0.3])], delta2=0.02..0.1);

@tomleslie 

in a same way can we draw dual axis plot 

@tomleslie 

thanks a lot  sir. 

@Kitonum 

thanks a lot  sir for your suggestions

First 6 7 8 9 10 Page 8 of 10