Summary: | Suggestions for really nice black & white plots | ||
---|---|---|---|
Product: | [Applications] kst | Reporter: | Nicolas Brisset <nicolas.brisset> |
Component: | plotting | Assignee: | Rick Chern <rchern> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kst |
Priority: | NOR | ||
Version: | 1.x | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: |
Description
Nicolas Brisset
2004-09-24 22:54:45 UTC
Ahhh... I understand the request now.... This ("Change to B&W") would be one of the tools that I'd put in the "Tools" menu I suggest in bug #91672. What are your plans for implementing this? This might be implemented as suggested as a "Change to B&W" item in the "Tools" menu. The tool would behave like suggested and change all plot backgrounds to white, as well as cycle curve properties (line style, symbols...) as specified by the user. Ok, but I meant more along the lines of the internal implementation. I started to implement some of this in a more generic sense. See kstcolorsequence for some of the stubs I started on. I think it would involve changing the color sequence over to monochrome or greyscale recursively. Symbols could also be done but we need a generic solution for it. This is very important because it has impact on KstScript. The tool in the UI should be secondary to the internal implementation. By a more generic solution, would there be a kstsymbolsequence? (and kstlinesequence, etc)? On Thursday 26 May 2005 20:47, Rick Chern wrote:
> By a more generic solution, would there be a
> kstsymbolsequence? (and kstlinesequence, etc)?
It might make sense to have these too. In particular though, we need the
implementation to be integrated at a lower level than the dialog so that it
is a clean part of the API. I think it needs to go into the plot API. The
UI code would look something like:
foreach (w, windows) {
foreach (p, w.plots) {
p.setColorMode(Monochrome);
}
}
This maps nicely into the script language.
SVN commit 421760 by rchern: - use correct defaults for printing - allow cycling of line width, line style, and point style when printing in monochrome CCMAIL: 90196-done@bugs.kde.org M +64 -16 kst.cpp M +97 -13 kst2dplot.cpp M +15 -2 kst2dplot.h M +9 -0 kstbasecurve.h M +24 -5 kstnumbersequence.cpp M +12 -1 kstnumbersequence.h |