Giter VIP home page Giter VIP logo

Comments (6)

yihui avatar yihui commented on July 26, 2024 1

应该是 Tufte (1997):

image

引用条目:

@book{Tufte97,
  title={Visual Explanations: Images and Quantities, Evidence and Narrative},
  author={Edward R. Tufte},
  year={1997},
  publisher={Graphics Press, Cheshire, CT}
}

from msg.

pzhaonet avatar pzhaonet commented on July 26, 2024 1

在 MSG 包里新增了绘制这幅图的代码:

已添加到了书稿里:

而条件密度图和棘状图的示例代码改为使用 DAAG 包的 orings 数据:

from msg.

yihui avatar yihui commented on July 26, 2024

很可能是我引错了书,我现在的记忆是 Tufte 的书。Cleveland 的书中是否用过这个例子我现在记不清了,也许是他 93 年的那本书。我再查一下。这些老书现在都不好找了,当年我在学校图书馆借过。

from msg.

yihui avatar yihui commented on July 26, 2024

下文就这幅散点图谈了很多,然而这幅图并没有展示。我觉得应该展示出来,不然的话,读者看不到这幅图,读文字的时候没法直观理解。

这个可能有困难,因为借用别人的图需要征求版权许可(当然也可以试试)。

这个 O 型环数据在条件密度图中用过:https://msg-book.netlify.app/gallery.html#sec:cdplot

from msg.

pzhaonet avatar pzhaonet commented on July 26, 2024

我正想问这个跟条件密度图和棘状图用的数据是不是同一组。怎么那么巧都是 O 型圈。

版权许可的问题我来问一下出版社。如果不行,那么书里还有别的几处也得删掉,例如旧稿的小猪飞跃图、中美国力图,我擅自新增的新冠疫情地图和玫瑰图、美国大选红蓝地图等。

Tufte 这张图倒是没什么问题,其中的数据收在 DAAG 包里,我们重画一张一模一样的就行了(条件密度图和棘状图的示例代码也可以改成使用这组数据,我觉得比手动录入的代码要好看一些):

install.packages("DAAG")
data(orings, package = "DAAG")
orings

从这个数据框来看,我在一楼给出的两个图彼此不矛盾:Maindonald (1997) 就是按这个数据框的数据直接画的图,而 Tufte(1997) 图的纵坐标在 orings 数据里没有给出来,需要手动添加一列。

from msg.

yihui avatar yihui commented on July 26, 2024

也许能算 Fair use:https://www.copyright.gov/fair-use/more-info.html 当然这有点打擦边球。

小猪飞跃图我都不知道能否找到原始邮件,都忘了是谁发给我的了。

from msg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.