AHSAN

160 Reputation

6 Badges

5 years, 133 days

MaplePrimes Activity


These are replies submitted by AHSAN

@acer thanks alot sir,sir show these line according to desire position" means how can we move vertical line right or left . Similarly how can we move horizontal line upward or downword direction?

@acer thanks alot sir and you are right my commond was working for single plot but do not work for multiple lines in a sinlge graphs. Sir what does means of [2] in the commond ymin, ymax := op(plottools:-getdata(P, rangesonly)[2])

and sir is it possible to customize the both line means how can we show these line according to desire position?

@acer sir if you do not mind can you please guide about  the role of this commond and specially y in the code

r := (x,y, H, c) -> plottools:-rectangle([x-H, 0], [x+H, y], color=c):

@acer thanks sir, for help 

@acer thanks for help. I did mistake while adding expression. Sorry.  I forget to apply limit on y, actally my final expression do not depend on y. I have updated my mistake and replace with corrrect expression. I am trying to genetrate Bar graph  and code is working but its seems incorrect. Sir plaese help me to that how to adjust procedure with out y and drawbar graph for new expression. I am uploading workwheet, please have a look.

Help_Bar_Graph.mw

@sand15 sir if you are not soing help then how could I find some else.

@sand15 sir each curve have their maximum point at some vale of x, need to calculate that point for each curve and we combined all cirve we observe that the peak of each curve is smaller then other, so I am interesetd to obsrvse that difference in percentage at the maximum value of x.

for refernce I uploading a file of whihch idea wan to implemnet for my problem. This is not my problem but want to implement like this.

For_reference.mw

@sand15 let me try to explain in more detail. I have two expression A and B, the different plots has been generated on change the value of beta in expression B, while expression A do not have beta. So, when we change the values of beta in expression B and plot then display the graph of expression A and B combinely, we can observe that peak of curve B decrases as compared to curve A or in other word on incraesing the value of Beta the decreaseing trend has been observed in expression B as compred to expression A. Now I am interested to write that decraesing trend in percentage means expression B exhibit 20% or 8% decrease from expression A .

@sand15 

 I do not understant about loop? I could not talking about loop. Acutally, I want to calculate decrease or increase in percentage of the both curve. Means the value of  expressionB is decrease 20%, 8%, or 7%  as of expression A. In your computation 

PercentageOfVariation is -8.77096392
or -19.42247313

What does its meaning or how to read it and can you please explain your whole computation or procedure you adopted.

Is it possible to show the peak or maximum value of each curve on respective curve then we calculate the decrease or incease in percentage between curves?

@mmcdara thanks for help, Actually, I am trying to caculate maximum point at which expression have maximum value and then want to check loss or increase in percentage on changing the value the of M for expression. I am following the idea from other file in which file is runnning sucessfully. I have copy that idea below in the file you created. I am consfuse and cannot understand, how to change or copy that idea for my expression.

Help_mmcdara.mw

@mmcdara thanks alot sir for kind support and help. Sir, I could find the graph for  Nu on vertical axis and k on horizontal axis for these values. Thanks alot for your help. I am trying to understand your code but its complex for me.....There is no way to draw same graph in sample way..?

beta := 0.5;Br:=0.2;Q := 0.5516;lambda := -0.0294;k := 0.1;
beta := 0.5;Br:=0.2; Q := 0.4903;lambda := -0.0343; k := 0.2
beta := 0.5;Br:=0.2; Q := 0.4290;lambda := -0.0388;k := 0.3;
beta := 0.5;Br:=0.2;Q := 0.3677;lambda := -0.0426;k := 0.4;
beta := 0.5;Br:=0.2;Q := 0.3064;lambda := -0.0451; k := 0.5;
beta := 0.5;Br:=0.2;Q := 0.2451;lambda := -0.0457; k := 0.6;
beta := 0.5;Br:=0.2;Q := 0.1839; lambda := -0.0436; k := 0.7;
beta := 0.5;Br:=0.2;Q := 0.1226;lambda := -0.0369;k := 0.8;
beta := 0.5;Br:=0.2;Q := 0.0612; lambda := -0.0227;k := 0.9;

@mmcdara Thanks alot for quick help. yes you are write the value of Beta and Br are same. Sir is it possible to change or customise values written on every bar means if we want to change other value then how could we change, Actually on every bar I need to mention the (lambda+Q=--------) and I want to customise it according to desire.

sir how to change the view of verticle axis means now the bar is in downword posiiton and is it possible to show bar from down to upper direction as mentioned in the picture that I have upload for reference.

sir last change how to plot same bar for k....in this case the value of beta and Br will remain fixed but the value of lambd and Q will change for every values of k, belose is the case

beta := 0.5;Br:=0.2;Q := 0.5516;lambda := -0.0294;k := 0.1;
beta := 0.5;Br:=0.2; Q := 0.4903;lambda := -0.0343; k := 0.2
beta := 0.5;Br:=0.2; Q := 0.4290;lambda := -0.0388;k := 0.3;
beta := 0.5;Br:=0.2;Q := 0.3677;lambda := -0.0426;k := 0.4;
beta := 0.5;Br:=0.2;Q := 0.3064;lambda := -0.0451; k := 0.5;
beta := 0.5;Br:=0.2;Q := 0.2451;lambda := -0.0457; k := 0.6;
beta := 0.5;Br:=0.2;Q := 0.1839; lambda := -0.0436; k := 0.7;
beta := 0.5;Br:=0.2;Q := 0.1226;lambda := -0.0369;k := 0.8;
beta := 0.5;Br:=0.2;Q := 0.0612; lambda := -0.0227;k := 0.9;

@mmcdara thanks alot, you got my point. I am looking the graph exactly in same way. Sir I have changed the expression and try to I implement your work, ist part is working but there is no display of graph. I also want to add numeric value on the top of every bar. Kindly have a look my expression

Expression_changed_but_no_result.mw

@mmcdara  my expression is ok for line plot and its depends on lambda, Q and beta. Actually, I want to draw bar chat for different value of beta [0.1,0.3,0.5,0.7,0.9) between Nu and y ( Nu is on vertical axies and y is on horizontal axis) and crosspedning to the values of beta the value of Lambda and Q also changes. The main purpose is to check the increase or decrease in NU for beta through bar chart. I am uploading again a picture for only refernce. Please check

please upload your maple worksheet.

3 4 5 6 7 8 9 Last Page 5 of 18