AHSAN

160 Reputation

6 Badges

5 years, 192 days

MaplePrimes Activity


These are replies submitted by AHSAN

@sand15 Thanks, sir. Finally, I understand the concept of Cell, and now it's working well. I read your post regarding bar graphs; you did a fantastic job and are still cursing about one thing in that file.  First, you saved some numeric values in the option of "Data." May I ask where you are getting those values from? Below is the screenshot of this step..........And if it is generating automatically randomly in the range 2...3, then is it possible to save actual data like this separately from my above problem and then paste it here to generate this kind of bar graph?

The other is about labeling. The label of the axis looks like Nu, "We=[0.05..0.5], and Br=0.1,0.2,...0.9]."

Here is the file you uploaded in your post.

BarGraph_2_Categories.mw

@sand15 thanks sir and let me try again, will update if there is any issue. Actually, I am not getting the cell option.

@sand15 Sir when I run your suggestions.

  print(display(Legends));

  C1 := Cell( InlinePlot(All), columnspan=7 ):
  C2 := Cell( InlinePlot(Legends) ):
  TC := Table(seq(Column(), k=1..8), widthmode=percentage, width=60, interior=none,
          Row(C1, C2)
        ):

The plot looks like this

Here is Maple's worksheet.

Bar_view_help_sand15(bis).mw

Below is my new try to show the legends at the bottom of the graphs, but the legends appear at the horizontal axis.

Bar_view_help_sand15(bis)_New.mw

Both files are ok and producing similar graphs except for the legends. Sir, choose anyone and help in adjusting the legends to the proper place.

@sand15 sir when I incorporate your suggestions regarding display, the main graph disappers and only enlarge legends appear on my side. Besides, I read your suggestions about display of bar graph. I am interested in group bar graphs as appear in our latest maple sheet ao ignore the values on each bar. Sir only help to fix the legends at proper place and keep rest of things same.

@sand15 Sir, I tried many times to download your file, but I couldn’t because of an error. Additionally, the issue with the legend settings remains; the view is still unclear. I tried something in which the legends are now appearing above the graph axes, but I am trying to shift them to the bottom so they don’t mix with the axes, but I am not able to do it. Can you help me with this? In addition, is it possible to automatically add the numeric values on top of each bar so that the correct values appear above every bar? Please help me with this.

Bar_view_help_sand15(bis)_New.mw

@sand15 thanks sir for your alot of help. I will read your code and learn and if there is any issue issue I will let you know.

@sand15 Thanks alot sir for your alot of help. I read your instructions but when I click there is no change. Let me run witjh above suggestions

@sand15 , after replacing, its working, but legends looks not clear. For example in screenshot. Simialr for all graphs

@sand15 sir, when I run your Maple shete, I receive this error. 

@sand15 Thanks alot for your help sir.

Updated:

@sand15 sir, both figures are ok. Now M appears in legends, but  need to mention other parameters as the labels on the axis, like the Nusselt number, "We" and Br....

I run your command but receive an error.

This results is ok sir

@sand15 for 3D, I have not tried yet, but for the line plot, I am using this command: legend = typeset("We = ", WeVals[i], legendstyle = [location = bottom, font = ["TIMES", "italic", 18] and it appears like this 

Even, sir, if there is any issue regarding showing the legend leave, I will do some manual tricks, but I need to verify this: "The file you uploaded is working accordingly, and even on my side, there is no convergence issue in this file. Sir, I am trying to generate legends at the bottom of the generated figures. Actually, my problem has multiple parameters, and I am trying to determine the impact of these parameters on Nu (Nusselt number). As we generated 3D bar graphs, one axis was for Nu, and the other two were for "We" and Br or M and Br. Sir, let me try to explain in more detail. If we want to check variation in Nu with respect to M = [0.5, 1.5, 2.5, 3.5], then the axis of the graph should be Nu, We=[0.05,0.1,0.3,0.5], and Br=[0.1,0.3,0.5..0.9], and M will appear in the legend according to color or values, like one color for M=0.5, another different color for M=1.5, and so on. Similarly, if we want to check the impact of We= [0.05, 0.1, 0.3, 0.5], then the axes of output will be Nu, M=[0.5,1.5,2.5,3.5], and Br=[0.1,0.3,0.5...0.9], and the "We" values appear in the legends. "

@sand15 Sir, thanks a lot for your help. The file you uploaded is working accordingly, and even on my side, there is no convergence issue in this file. Sir, I am trying to generate legends at the bottom of the generated figures. Actually, my problem has multiple parameters, and I am trying to determine the impact of these parameters on Nu (Nusselt number). As we generated 3D bar graphs, one axis was for Nu, and the other two were for "We" and Br or M and Br. Sir, let me try to explain in more detail. If we want to check variation in Nu with respect to M = [0.5, 1.5, 2.5, 3.5], then the axis of the graph should be Nu, We=[0.05,0.1,0.3,0.5], and Br=[0.1,0.3,0.5..0.9], and M will appear in the legend according to color or values, like one color for M=0.5, another different color for M=1.5, and so on. Similarly, if we want to check the impact of We= [0.05, 0.1, 0.3, 0.5], then the axes of output will be Nu, M=[0.5,1.5,2.5,3.5], and Br=[0.1,0.3,0.5...0.9], and the "We" values appear in the legends. And is it possible to write a general method that automatically calculates and puts relevant values of Nu against the parameter for which we are checking the impact on each bar? Sir, I am uploading your worksheet because if I upload my try, it creates confusion. I apologize for any inconvenience caused by my explanation of my problem. Thanks for your help. 

 

Bar_view_help_sand15.mw

@sand15 thanks sir, I am reading your file. If there is any issue will ask.

@sand15 Sir, the problem occurs due to the large values of "We". Maybe it will be fine for We = 0.05, 0.1, 0.2, 0.3. Can you please share the worksheet? The file you uploaded is working, but I am confused about the values that appear in the Data matrix. How do we obtain these values? Are these values dummy or generated from my problem? Sir, I have been stuck on this problem for the last couple of days. Kindly help.

Here is the file you uploaded in your previou response.

Bars_(2).mw

1 2 3 4 5 6 7 Last Page 1 of 20