promotion image of download ymail app
Promoted

C++ programming

更新:

*************************

ignore the above links

What I need to do now:

Using the same number of columns and rows for the plotting canvas, make the

plotting canvas display values from (0,-2) to (15,2) (i.e. rectangle that connect

points (0.-2), (0,2), (15,2) and (15,-2) or simply y axis is from -2 to 2).

更新 3:

there are only...

#define XMIN 0

#define XMAX 15

#define YMIN 0

#define YMAX 4

do u mean the first one and the last one?

更新 4:

or the third and fourth?

1 個解答

評分
  • Wu
    Lv 5
    1 十年前
    最愛解答

    It is very simply. Just change my previous program as follows:

    #define XMIN 0

    change to

    #define XMIN -2

    and

    #define XMAX 4

    change to

    #define XMAX 2

    Re-compile and run...

    • Commenter avatar登入以回覆解答
還有問題嗎?立即提問即可得到解答。