This commit is contained in:
jkriege2 2022-10-30 21:52:30 +01:00
parent 972bc6c1e0
commit 94fcd02913
14 changed files with 16 additions and 12 deletions

View File

@ -177,7 +177,7 @@ if(JKQtPlotter_BUILD_EXAMPLES)
#paramscatterplot_image
parsedfunctionplot
rgbimageplot
rgbimageplot_qt
rgbimageplot_qt/rgbimageplot_qt,rgbimageplot_qt_upsidedown/--iteratefunctorsteps
mandelbrot
geo_coordinateaxis0
#speed
@ -219,6 +219,8 @@ if(JKQtPlotter_BUILD_EXAMPLES)
foreach(ex ${JKQTPlotter_GenerateDocScreenshots_From})
set(example ${ex})
set(basename ${ex})
string(REGEX MATCH "(.+)/(.+)" dummy ${ex})
set(extra_command "")
if(CMAKE_MATCH_1 STREQUAL "" OR CMAKE_MATCH_2 STREQUAL "")
@ -227,11 +229,18 @@ if(JKQtPlotter_BUILD_EXAMPLES)
else()
set(example ${CMAKE_MATCH_1})
set(basename ${CMAKE_MATCH_2})
set(CMAKE_MATCH_3 "")
string(REGEX MATCH "(.+)/(.*)/(.+)" dummy ${ex})
if(NOT (CMAKE_MATCH_3 STREQUAL ""))
set(example ${CMAKE_MATCH_1})
set(basename ${CMAKE_MATCH_2})
set(extra_command ${CMAKE_MATCH_3})
endif()
endif()
if (NOT extra_command STREQUAL "")
string(REPLACE "--" ";--" extra_command "${extra_command}")
endif()

View File

@ -150,12 +150,6 @@ This group assembles graphs that show their data with symbols and optionally wit
<tr>
<td>\image html JKQTPbarVerticalGraphStacked_small.png
<td> JKQTPBarVerticalStackableGraph, JKQTPBarHorizontalStackableGraph
<tr>
<td>\image html JKQTPImpulsesVerticalGraph_Symbols_small.png
<td> JKQTPImpulsesHorizontalGraph, JKQTPImpulsesVerticalGraph
<tr>
<td>\image html JKQTPImpulsesVerticalErrorGraph_small.png
<td> JKQTPImpulsesHorizontalErrorGraph, JKQTPImpulsesVerticalErrorGraph
</table>
\defgroup jkqtplotter_sticks Impulse-Charts
@ -165,7 +159,6 @@ This group assembles graphs that show their data with symbols and optionally wit
<tr>
<th> Screenshot
<th> Classes
<tr>
<tr>
<td>\image html JKQTPImpulsesVerticalGraph_Symbols_small.png
<td> JKQTPImpulsesHorizontalGraph, JKQTPImpulsesVerticalGraph

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -25,7 +25,7 @@ The source code of the main application is (see [`rgbimageplot_qt.cpp`](https://
```
The result looks like this:
![imageplot](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/rgbimageplot_qt.png)
![imageplot](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/rgbimageplot_qt_upsidedown.png)
The image is upside-down, because computer images use a coordinate system with 0 at the top-left (left-handed coordinate system) and the JKQTPlotter has its 0 at the bottom-left (right-handed coordinate system).
@ -37,7 +37,7 @@ You can modify the program above to display the image in the correct orientation
```
This will reorient the y-axis to point from top to bottom (for increasing positive coordinates):
![imageplot](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/rgbimageplot_qt_updisdedown.png)
![imageplot](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/rgbimageplot_qt.png)

View File

@ -67,9 +67,11 @@ int main(int argc, char* argv[])
// 8. show plotter and make it a decent size
plot.show();
plot.resize(800/plot.devicePixelRatioF(),600/plot.devicePixelRatioF());
plot.resize(400/plot.devicePixelRatioF(),300/plot.devicePixelRatioF());
plot.setWindowTitle("JKQTPImage");
app.addExportStepFunctor([&]() {
plot.getYAxis()->setInverted(false);
});
return app.exec();
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB