Andiguys

65 Reputation

5 Badges

1 years, 67 days

MaplePrimes Activity


These are questions asked by Andiguys

Could anyone help me with the syntax to create a Region Plot (Feasibility or Preference Map) that displays: Regions based on conditions like:

  • When   and  πR>πD ​ ​, then Strategy 1 is preferred.
    and  When ​, πR<πD then Strategy 2 is better.
     
  • When ​,πR<πD then Strategy 2 is preferred.
    and When ​,πR>πD then Strategy 1 is better.

I’d also like the plot to visually highlight the regions based on strategy​, and vice versa.

File : Regional_plot.mw

I am working with two plots and need help in labeling,

Plot 1: I would like to display the intersection point of the two curves along with the corresponding value of δ (delta) at that point. Ideally, this can be highlighted using an arrow or annotation.

Plot 2: I would like to identify and mark the maximum point of the two curves. Specifically, I want to show the maximum value and the corresponding value of w at which this occurs.

Could anyone help with the syntax. Is there any method to improve the quality of figure to export it as jpeg?

Q_NEW_PLOT.mw

I have a contour plot, and I need to make the following modifications. Could anyone please guide me on how to change the syntax accordingly?
 

  1. Remove grid lines (black lines) from my plot.

  2. Swap the axes so that s2  appears on the Y-axis, ranging from 1000 to 7000. Currently, s2 is shown on the X-axis from 1 to 7.

  3. Add a color scale (legend) for the contour values of stemp (with label), with formatted values like 1.47 × 10⁷ (scientific notation).

    Attaching my file with plot: S1_vs_s2_contour_plot.mw

I’ve attached (or described) a sample contour plot for reference.

I am trying to display the results by substituting values into a table format after solving the KKT conditions. I attempted to do this using Maplet, but it did not give the desired output or flexibility.

Could you please guide me on:

  • The correct way to capture and display substituted results in a table?

  • Any alternative syntax or functions (other than Maplet) that are better suited for this purpose?

I would also like to confirm whether the substitution I made for the lower and upper bounds—specifically C_min value  and C_max value —has been done correctly. Could you please verify if this is the correct way to implement these bounds within the KKT formulation?

KKT_Table_Q-22.mw

When optimizing with constraints, I’m getting an error: ‘NLP no feasible point’.

However, when I plot the graph, it shows a result — there appears to be a point where p1 is positive and s is maximized.

Could you help identify if there’s a syntax issue? Also, what’s the correct syntax to visualize the constraints in the plot?

Sheet: 07.mw

1 2 3 4 5 6 7 Page 1 of 7