Possible Notation / Conceptual Inaccuracy in `BaseValue` Description – Chapter 8.1 (Exercise 8.1) page 251

Đang mở Phù hợp với người mới
#228 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
72/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
documentation

Hướng nghiên cứu

Tìm phần văn bản Chương 8.1 sau Bài tập 8.1 ở trang 251 và xem lại mô tả cặp tên-giá trị BaseValue cho bar và barh. Kiểm tra xem cách diễn đạt có phân biệt giá trị cơ sở với giao điểm của các trục và giải thích giá trị cơ sở áp dụng cho trục nào ở mỗi hàm hay không. Hoàn tất khi văn bản mô tả chính xác cả hai cách hoạt động.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Suggestion for the next edition

Dear Professors,

While reviewing the examples and exercises in Chapter 8.1, I focused on the explanation of the 'BaseValue' name-value pair following Exercise 8.1 on page 251.

Image

The text currently states:

"The 'BaseValue' name-value pair in bar and barh specifies where the $x$-axis intersects the $y$-axis."

Looking at this definition, I wondered whether this formulation might contain a small technical/notational inaccuracy regarding how MATLAB handles coordinate axes and baseline positioning:

  1. Axis Intersection vs. Baseline Position: The 'BaseValue' property does not shift the axes or alter the intersection of the Cartesian coordinate system ($x$-axis and $y$-axis). In MATLAB graphics, axis placement and intersections are controlled via Axes properties (such as XAxisLocation and YAxisLocation).
  2. Behavioral Difference in bar vs. barh:
    • For bar (vertical bars), BaseValue sets the horizontal baseline value on the $y$-axis from which the bars originate.
    • For barh (horizontal bars), BaseValue sets the vertical baseline value on the $x$-axis from which the bars originate.

I was wondering if a clearer formulation might be:

"The 'BaseValue' name-value pair in bar and barh specifies the baseline value from which the bars originate (along the $y$-axis for bar and along the $x$-axis for barh)."

or if there was a specific subtlety in the text's phrasing that I haven't fully grasped yet.

I hope this observation is helpful, and thank you as always for your time and guidance!

Ngôn ngữ chính
MATLAB
Star
30
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của UniprJRC/DSwithMATLAB

Tất cả issue của UniprJRC/DSwithMATLAB

Issue tương tự

Thêm issue về MATLAB

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.