yellowcanary

35 Reputation

4 Badges

10 years, 116 days

MaplePrimes Activity


These are questions asked by yellowcanary

Hello everyone,

I ploted two functions on 2D plane. I need it for my paper and I need the part of the functions under y=x line. Is there a way I can show only the functions below the red line. I attached the maple file. Thank you.

equilibrium.mw

YC

Hello,

I  put a caption under a plot and I want to use subscript. Since this is not the math mode, [] or __ does not work. Anyone knows, how to use subcript under the plot caption?

 

Thanks,

 

Hello,

I am trying to plot 3d scattered data as a 2d scatterplot with the third dimension being displayed as colour or a line that separates the value of the two functions (for example, the higher value and lower value at that point). I attached the file. I have two functions and several parameters that are constant. Here, I want to use P[A] on the x-axis, and P[B] on the y-axis. The z dimension is the profit functions, either Profit[1] or Profit [2]. I want to show them in colors like the highest one is red and the lower one is green, or something similar.  P[A] and P[B] are probability values and P[B] is between 0 to 0.50 with 0.01 increments, while P[A] is always less than P[B]. The file is here: example_file.mw

Example;

P[A] := 0 ..P[B]-0.01

P[B] := 0 ..0.50

Anyone please help me to code this problem.Thanks,

YC

Hello,

I need to plot these functions in two different plots. (Profit_A and Profit_B together, Profit_AA and Profit_BB together).

The file is attached. plot_new.mw

I need to use these constant:

P[A]: 0 to P[B]-0.01 (with 0.01 increments)

P[B]: 0 to 0.50 (with 0.01 increments)   P[A] is always less than P[B] These are probabilities

p=1,

w[u] = 0.8,

w = 0.5,

v=0.5,

D[A] = 1000,

D[B] = 1000,

H = 2500,

 

I want to plot two functions on the same 3D plot. X axis is Pa, Y axis is Pb, and Z axis is the value of each functions. (Profit1 an Profit 3)

I want to see dots (preferably different color) for each function's values based on different Pa and Pb combinations. So, it will be easy to navigate how these functions approach (or drift apart) based on Pa and Pb. 

I attached the maple file. My functions are Profit1 and Profit3.

Pa and Pb are probability values ranging 0 to 1, with 0.01 increment. I have the condition that Pa<Pb, always.

So, Pb = 0:0.01:1

      Pa = 0:0.01:(Pb - 0.01)  (This the for loop I use in MATLAB, I am not sure it is the same in Maple)

The constant values are:

c = 0;
p = 1;
wu = 0.8;
w = 0.5;
Ha = 100;
Hb = 200;

How should I plot these functions on 3D? I also wonder that if it is possible to plot this scenario on 2D. scenario1.mw

1 2 Page 1 of 2