Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
159 views
in Technique[技术] by (71.8m points)

java - 保存使用StdDraw创建的图像(Saving images created with StdDraw)

I am using the standard Princeton library to create graph of functions.

(我正在使用标准的Princeton库来创建函数图。)

I would like to save those graphs without having to use screenshots, but the save() method given in the library gives me problems: the images have a terrible definitions, the margins are cut out, etc etc.

(我想保存这些图形而不必使用屏幕截图,但是库中提供的save()方法给我带来了问题:图像定义很糟糕,边距被切掉,等等。)

Is there a different way to save my graphs?

(有保存我的图表的其他方法吗?)

Do I need to do something before using the save() method if I want correct images?

(如果我想要正确的图像,在使用save()方法之前是否需要做一些事情?)

  ask by Asghabard translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...