Commit 5c817f1d authored by Paul Asmuth's avatar Paul Asmuth
Browse files

wip

parent 66b38a2d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ foreach(example_test_path ${example_test_files})
  add_test(
      NAME test_example_${example_test_name}_svg
      WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
      COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/tests/spec/test_runner.sh ${CMAKE_CURRENT_BINARY_DIR}/plotfx ${example_test_path} ${CMAKE_CURRENT_BINARY_DIR}/${example_test_name}.svg ${example_test_srcdir}/${example_test_name}.svg)
      COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/tests/spec/test_runner.sh ${CMAKE_CURRENT_BINARY_DIR}/plotfx ${example_test_path} ${CMAKE_CURRENT_BINARY_DIR}/example_${example_test_name}.svg ${example_test_srcdir}/${example_test_name}.svg)
endforeach()

file(GLOB doc_test_files "manual/figures/*.ptx")
@@ -143,5 +143,5 @@ foreach(doc_test_path ${doc_test_files})
  add_test(
      NAME test_doc_${doc_test_name}_svg
      WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
      COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/tests/spec/test_runner.sh ${CMAKE_CURRENT_BINARY_DIR}/plotfx ${doc_test_path} ${CMAKE_CURRENT_BINARY_DIR}/${doc_test_name}.svg ${doc_test_srcdir}/${doc_test_name}.svg)
      COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/tests/spec/test_runner.sh ${CMAKE_CURRENT_BINARY_DIR}/plotfx ${doc_test_path} ${CMAKE_CURRENT_BINARY_DIR}/figure_${doc_test_name}.svg ${doc_test_srcdir}/${doc_test_name}.svg)
endforeach()
+6 −0
Original line number Diff line number Diff line
width: 1200px;
height: 90px;

axis {
  scale: linear(1);
}
+20 −0
Original line number Diff line number Diff line
<svg xmlns="http://www.w3.org/2000/svg" width="1200.000000" height="90.000000" viewBox="0 0 1200.0 90.0">
  <rect width="1200.000000" height="90.000000" fill="#ffffff"/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M40.0 50.0 L1160.0 50.0 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M40.0 50.0 L40.0 44.666667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M200.000007 50.0 L200.000007 44.666667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M360.000014 50.0 L360.000014 44.666667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M520.000038 50.0 L520.000038 44.666667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M680.000029 50.0 L680.000029 44.666667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M840.000019 50.0 L840.000019 44.666667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1000.000076 50.0 L1000.000076 44.666667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1160.0 50.0 L1160.0 44.666667 "/>
  <text x="29.804688" y="75.733333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">0.0</text>
  <text x="189.804695" y="75.733333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">0.1</text>
  <text x="349.804702" y="75.733333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">0.3</text>
  <text x="509.804726" y="75.733333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">0.4</text>
  <text x="669.804716" y="75.733333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">0.6</text>
  <text x="829.804707" y="75.733333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">0.7</text>
  <text x="989.804764" y="75.733333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">0.9</text>
  <text x="1149.804688" y="75.733333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">1.0</text>
</svg>
 No newline at end of file